mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-05 21:45:08 -05:00
sources: allow logging one selection failure on start
Allow one message about failed selection (e.g. no selectable sources) to be logged before first successful selection when a source has full-size reachability register (8 polls with a received or missed response). This should make it more obvious that chronyd has a wrong configuration or there is a firewall/networking issue.
This commit is contained in:
@@ -20,7 +20,7 @@ for options in "extfield F323" "xleave extfield F323"; do
|
||||
|
||||
run_test || test_fail
|
||||
check_chronyd_exit || test_fail
|
||||
check_source_selection || test_fail
|
||||
check_source_selection && test_fail
|
||||
check_sync || test_fail
|
||||
done
|
||||
|
||||
@@ -47,7 +47,7 @@ for lpoll in 5 6 7; do
|
||||
|
||||
run_test || test_fail
|
||||
check_chronyd_exit || test_fail
|
||||
check_source_selection || test_fail
|
||||
check_source_selection && test_fail
|
||||
check_sync || test_fail
|
||||
done
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user