Add TCP connection reset test

The TCP connection reset test starts mock UDP and TCP server which
always returns empty DNS answer with TC bit set over UDP and resets the
TCP connection after five seconds.

When tested without the fix, the DNS query to 10.53.0.2 times out and
the ns2 server hangs at shutdown.
This commit is contained in:
Ondřej Surý
2021-12-01 12:22:59 +01:00
committed by Evan Hunt
parent fa8f409af2
commit 5c17919019
11 changed files with 291 additions and 1 deletions

View File

@@ -228,6 +228,11 @@
./bin/tests/system/digdelv/setup.sh SH 2018,2019,2020,2021
./bin/tests/system/digdelv/tests.sh SH 2015,2016,2017,2018,2019,2020,2021
./bin/tests/system/digdelv/yamlget.py PYTHON 2019,2020,2021
./bin/tests/system/dispatch/ans3/ans.py PYTHON 2021
./bin/tests/system/dispatch/clean.sh SH 2021
./bin/tests/system/dispatch/conftest.py PYTHON 2021
./bin/tests/system/dispatch/setup.sh SH 2021
./bin/tests/system/dispatch/tests-connreset.py PYTHON-BIN 2021
./bin/tests/system/ditch.pl PERL 2015,2016,2018,2019,2020,2021
./bin/tests/system/dlzexternal/clean.sh SH 2010,2012,2014,2015,2016,2018,2019,2020,2021
./bin/tests/system/dlzexternal/driver/driver.c C 2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2021