]> git.ipfire.org Git - thirdparty/pdns.git/commit - regression-tests.dnsdist/dnsdisttests.py
dnsdist: Apply the TCP timeout _before_ trying to connect. 3178/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 6 Jan 2016 09:50:22 +0000 (10:50 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 6 Jan 2016 09:51:34 +0000 (10:51 +0100)
commit0a2087eb4342d53d238fcceac9be586a6b2c10ca
treead503e01ae08d3d3503f67493db062d7c6d9f40c
parenta5cb80eacfce81c0b4f8554f0e242c84834ed604
dnsdist: Apply the TCP timeout _before_ trying to connect.

In addition to that, we are now more aggressive in stopping
dnsdist to avoid getting stuck. Hopefully we should get more useful
error messages when the tests fail.
Removing usage of the timeout parameter with the same value than
the default for clarity.
regression-tests.dnsdist/dnsdisttests.py
regression-tests.dnsdist/test_Advanced.py
regression-tests.dnsdist/test_Basics.py