From 4dd0aece02e823a85cae2d8b26991dab560a51c9 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Wed, 13 Jan 2021 16:25:08 +0100 Subject: [PATCH] test: make 120-selectoptions more reliable Remove packet interval checks with long delays as the tests are much more likely to end when the client is waiting for a response. Increase the base delay to make selection with two sources more reliable. Reported-by: Christian Ehrhardt --- test/simulation/120-selectoptions | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/simulation/120-selectoptions b/test/simulation/120-selectoptions index a6b1e14..b4b6704 100755 --- a/test/simulation/120-selectoptions +++ b/test/simulation/120-selectoptions @@ -16,7 +16,6 @@ server 192.168.123.3 trust" run_test || test_fail check_chronyd_exit || test_fail check_source_selection || test_fail -check_packet_interval || test_fail check_sync || test_fail client_server_conf=" @@ -27,7 +26,6 @@ server 192.168.123.3 prefer" run_test || test_fail check_chronyd_exit || test_fail check_source_selection || test_fail -check_packet_interval || test_fail # This check is expected to fail check_sync && test_fail @@ -36,10 +34,9 @@ base_delay=1.1 run_test || test_fail check_chronyd_exit || test_fail check_source_selection || test_fail -check_packet_interval || test_fail check_sync || test_fail -base_delay=$default_base_delay +base_delay=1e-3 falsetickers=1 client_server_conf="