mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-05 18:35:06 -05:00
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 <christian.ehrhardt@canonical.com>
This commit is contained in:
@@ -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="
|
||||
|
||||
Reference in New Issue
Block a user