]> git.ipfire.org Git - thirdparty/bind9.git/commit
Allow retries when checking TCP high-water stats
authorMichał Kępień <michal@isc.org>
Thu, 7 Nov 2019 11:25:39 +0000 (12:25 +0100)
committerEvan Hunt <each@isc.org>
Thu, 7 Nov 2019 19:31:57 +0000 (11:31 -0800)
commit1e22e052d0761037613b21311d6f9eea1e8d92d2
treec7e32dee2ac9d112f3d57d2249ad8da3cea34a59
parent69f8f653232b2f70db851729b024437939af5232
Allow retries when checking TCP high-water stats

In the TCP high-water checks, "rndc stats" is run after ans6 reports
that it opened the requested number of TCP connections.  However, we
fail to account for the fact that ns5 might not yet have called accept()
for these connections, in which case the counts output by "rndc stats"
will be off.  To prevent intermittent "tcp" system test failures, allow
the relevant connection count checks to be retried (just once, after one
second, as that should be enough for any system to accept() a dozen TCP
connections under any circumstances).
bin/tests/system/conf.sh.common
bin/tests/system/tcp/tests.sh