From 9ff0dbb7a4c98459cb61cdc5517d40c277c0ee27 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Thu, 26 Mar 2015 16:15:38 +0100 Subject: [PATCH] test: make 009-sourceselection more reliable --- test/simulation/009-sourceselection | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/simulation/009-sourceselection b/test/simulation/009-sourceselection index a63070f..a6c9759 100755 --- a/test/simulation/009-sourceselection +++ b/test/simulation/009-sourceselection @@ -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