]> git.ipfire.org Git - thirdparty/bind9.git/commit
Address timing issues in 'inline' system test.
authorMark Andrews <marka@isc.org>
Tue, 17 Dec 2019 03:19:21 +0000 (14:19 +1100)
committerOndřej Surý <ondrej@isc.org>
Wed, 8 Jan 2020 07:32:06 +0000 (08:32 +0100)
commitde560f98a206be4317e9da34e440c71e73127f37
tree704b2ccba3050922260c5bb0b4c3ad0f3d2057b3
parentd555ee73750b683198204f8d5fe79f6e5ac3d3f0
Address timing issues in 'inline' system test.

"rndc signing -serial <value>" could take longer than a second to
complete.  Loop waiting for update to succeed.

For tests where "rndc signing -serial <value>" is supposed to not
succeed, repeatedly test that we don't get the new serial, then
test that we have the old value.  This should prevent false negatives.

(cherry picked from commit 13fa80ede808ec87101705f9271ce5f573d67267)
bin/tests/system/inline/tests.sh