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:
parent
e85fb0c25e
commit
4dd0aece02
1 changed files with 1 additions and 4 deletions
|
@ -16,7 +16,6 @@ server 192.168.123.3 trust"
|
||||||
run_test || test_fail
|
run_test || test_fail
|
||||||
check_chronyd_exit || test_fail
|
check_chronyd_exit || test_fail
|
||||||
check_source_selection || test_fail
|
check_source_selection || test_fail
|
||||||
check_packet_interval || test_fail
|
|
||||||
check_sync || test_fail
|
check_sync || test_fail
|
||||||
|
|
||||||
client_server_conf="
|
client_server_conf="
|
||||||
|
@ -27,7 +26,6 @@ server 192.168.123.3 prefer"
|
||||||
run_test || test_fail
|
run_test || test_fail
|
||||||
check_chronyd_exit || test_fail
|
check_chronyd_exit || test_fail
|
||||||
check_source_selection || test_fail
|
check_source_selection || test_fail
|
||||||
check_packet_interval || test_fail
|
|
||||||
# This check is expected to fail
|
# This check is expected to fail
|
||||||
check_sync && test_fail
|
check_sync && test_fail
|
||||||
|
|
||||||
|
@ -36,10 +34,9 @@ base_delay=1.1
|
||||||
run_test || test_fail
|
run_test || test_fail
|
||||||
check_chronyd_exit || test_fail
|
check_chronyd_exit || test_fail
|
||||||
check_source_selection || test_fail
|
check_source_selection || test_fail
|
||||||
check_packet_interval || test_fail
|
|
||||||
check_sync || test_fail
|
check_sync || test_fail
|
||||||
|
|
||||||
base_delay=$default_base_delay
|
base_delay=1e-3
|
||||||
falsetickers=1
|
falsetickers=1
|
||||||
|
|
||||||
client_server_conf="
|
client_server_conf="
|
||||||
|
|
Loading…
Reference in a new issue