ntp: improve maxdelayratio test

Similarly to the maxdelaydevratio test, include in the maximum delay
dispersion which accumulated in the interval since the last sample.
Also, enable the test for symmetric associations.
This commit is contained in:
Miroslav Lichvar
2017-08-25 14:57:25 +02:00
parent 51fe80ad95
commit c68ca40ce4
3 changed files with 27 additions and 6 deletions

View File

@@ -18,7 +18,7 @@ check_source_selection || test_fail
check_packet_interval || test_fail
check_sync || test_fail
for client_server_options in "maxpoll 6 maxdelay 2e-5" "maxpoll 6 maxdelayratio 1.001"; do
for client_server_options in "maxpoll 6 maxdelay 2e-5"; do
run_test || test_fail
check_chronyd_exit || test_fail
check_packet_interval || test_fail