]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
ove the testsock.pl sleep to autosign test suite [RT #23400]
authorFrancis Dupont <fdupont@isc.org>
Mon, 28 Feb 2011 14:08:36 +0000 (14:08 +0000)
committerFrancis Dupont <fdupont@isc.org>
Mon, 28 Feb 2011 14:08:36 +0000 (14:08 +0000)
CHANGES
bin/tests/system/autosign/tests.sh
bin/tests/system/testsock.pl

diff --git a/CHANGES b/CHANGES
index dbc18a037a87b56d3bffbb51795614c4c181c6d3..9ba990fb84caf854dedfbb408ee3e9dfd9adf857 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+3045.  [test]          Move the testsock.pl sleep to autosign test suite.
+                       [RT #23400]
+
 3044.  [bug]           Hold the socket manager lock while freeing the socket.
                        [RT #23333]
 
index 02d5a88cd7cfc694dc5acf078c9d4afe7a2565f2..a4d8bc6ec3cec242040298370d86e994a64990d9 100644 (file)
@@ -14,7 +14,7 @@
 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 # PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: tests.sh,v 1.12 2010/12/15 18:44:37 each Exp $
+# $Id: tests.sh,v 1.13 2011/02/28 14:08:36 fdupont Exp $
 
 SYSTEMTESTTOP=..
 . $SYSTEMTESTTOP/conf.sh
@@ -26,6 +26,10 @@ n=0
 
 DIGOPTS="+tcp +noadd +nosea +nostat +nocmd +dnssec -p 5300"
 
+# wait a bit before testing changes
+# (was in testsock.pl (trailing sleep(1)), to be tuned from robie feedback)
+sleep 5
+
 #
 #  The NSEC record at the apex of the zone and its RRSIG records are
 #  added as part of the last step in signing a zone.  We wait for the
index a17505012a007873d29d807baa09c5da090a2363..0c7fb008f1255d769114452d618385d46afc850f 100644 (file)
@@ -15,7 +15,7 @@
 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 # PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: testsock.pl,v 1.18 2010/08/17 23:46:46 tbox Exp $
+# $Id: testsock.pl,v 1.19 2011/02/28 14:08:36 fdupont Exp $
 
 # Test whether the interfaces on 10.53.0.* are up.
 
@@ -47,5 +47,4 @@ foreach $id (@ids) {
                or die sprintf("$0: bind(%s, %d): $!\n",
                               inet_ntoa($addr), $port);
        close(SOCK);
-       sleep(1);
 }