]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
test: make 009-sourceselection more reliable
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 26 Mar 2015 15:15:38 +0000 (16:15 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Fri, 27 Mar 2015 09:37:55 +0000 (10:37 +0100)
test/simulation/009-sourceselection

index a63070f726d01ec6cd076b192ec106248a4c2bee..a6c97595dfb9401ba1f78a51e68f91554307b5b0 100755 (executable)
@@ -6,6 +6,7 @@ test_start "source selection"
 
 # Falsetickers should be detected if their number is less than half of all
 
+base_delay=1e-3
 servers=5
 
 for falsetickers in 1 2; do
@@ -29,7 +30,7 @@ done
 
 servers=3
 falsetickers=0
-base_delay="(+ $default_base_delay (equal 0.1 to 2) (equal 0.1 to 3))"
+base_delay="(+ 1e-3 (equal 0.1 to 2) (equal 0.1 to 3))"
 
 run_test || test_fail
 check_chronyd_exit || test_fail