mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-05 22:55:07 -05:00
sources: replace reachable sources in selection
Instead of waiting for the next update of reachability, trigger replacement of falsetickers, jittery and distant sources as soon as the selection status is updated in their SRC_SelectSource() call.
This commit is contained in:
@@ -62,7 +62,7 @@ check_sync || test_fail
|
||||
check_log_messages "Detected falseticker" 2 10 || test_fail
|
||||
check_log_messages "Source 192.168.123.. replaced with" 1 1 || test_fail
|
||||
check_file_messages "20.*192.168.123.* 11.1 6 6 " 15 17 measurements.log || test_fail
|
||||
check_file_messages "20.*00:01:.. 192.168.123.* 11.1 6 6 " 1 1 measurements.log || test_fail
|
||||
check_file_messages "20.*00:\(00:07\|01:..\) 192.168.123.* 11.1 6 6 " 1 1 measurements.log || test_fail
|
||||
rm -f tmp/measurements.log
|
||||
|
||||
test_pass
|
||||
|
||||
Reference in New Issue
Block a user