]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
+/- 500ms was too small a fudge factor (-582ms seen in testing), raise to +/- 1000ms
authorMark Andrews <marka@isc.org>
Thu, 22 Dec 2011 02:15:24 +0000 (02:15 +0000)
committerMark Andrews <marka@isc.org>
Thu, 22 Dec 2011 02:15:24 +0000 (02:15 +0000)
bin/tests/system/autosign/tests.sh

index e53430fedfcf2cc28e19199178cad6d1fc79d480..0453d509afb8560cb0027871bd3d7962f1c80eea 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.40 2011/12/12 12:08:09 marka Exp $
+# $Id: tests.sh,v 1.41 2011/12/22 02:15:24 marka Exp $
 
 SYSTEMTESTTOP=..
 . $SYSTEMTESTTOP/conf.sh
@@ -1069,8 +1069,8 @@ check_interval () {
             awk -F: '
                      {
                        x = ($6+ $5*60000 + $4*3600000) - ($3+ $2*60000 + $1*3600000);
-                      # abs(x) < 500 ms treat as 'now'
-                      if (x < 500 && x > -500)
+                      # abs(x) < 1000 ms treat as 'now'
+                      if (x < 1000 && x > -1000)
                          x = 0;
                       # convert to seconds
                       x = x/1000;