From: Michał Kępień Date: Tue, 23 Apr 2019 12:59:05 +0000 (+0200) Subject: Remove redundant sleeps X-Git-Tag: v9.15.0~31^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1c8e5ea33366094dc77f63fa8e728bb0f7691c8c;p=thirdparty%2Fbind9.git Remove redundant sleeps In the "nsupdate" system test, do not sleep before checking results of changes which are expected to be processed synchronously, i.e. before nsupdate returns. --- diff --git a/bin/tests/system/nsupdate/tests.sh b/bin/tests/system/nsupdate/tests.sh index dd0286fe48d..78e76d95133 100755 --- a/bin/tests/system/nsupdate/tests.sh +++ b/bin/tests/system/nsupdate/tests.sh @@ -424,8 +424,6 @@ update add example 3600 nsec3param 1 0 0 - send EOF -sleep 1 - # the zone is not signed. The nsec3param records should be removed. # this also proves that the server is still running. $DIG $DIGOPTS +tcp +noadd +nosea +nostat +noquest +nocmd +norec example.\ @@ -443,8 +441,6 @@ update add nsec3param.test 3600 NSEC3PARAM 1 0 1 - send EOF -sleep 1 - $DIG $DIGOPTS +tcp +noadd +nosea +nostat +noquest +nocmd +norec nsec3param.test.\ @10.53.0.3 nsec3param > dig.out.ns3.$n || ret=1 grep "ANSWER: 1" dig.out.ns3.$n > /dev/null || ret=1