test: fix source selection check
The chronyd log message changed from "no reachable sources" to "no
selectable sources" in 8f062454
.
This commit is contained in:
parent
bbdf708d1a
commit
78283dd822
2 changed files with 1 additions and 2 deletions
|
@ -18,7 +18,6 @@ freq_rms_limit=5e-4
|
|||
|
||||
run_test || test_fail
|
||||
check_chronyd_exit || test_fail
|
||||
check_source_selection || test_fail
|
||||
check_sync || test_fail
|
||||
|
||||
test_pass
|
||||
|
|
|
@ -262,7 +262,7 @@ check_source_selection() {
|
|||
for i in $(seq $[$servers * $server_strata + 1] $(get_chronyd_nodes)); do
|
||||
test_message 3 0 "node $i:"
|
||||
|
||||
! grep -q 'no majority\|no reachable sources' tmp/log.$i && \
|
||||
! grep -q 'no majority\|no selectable sources' tmp/log.$i && \
|
||||
grep -q 'Selected source' tmp/log.$i && \
|
||||
test_ok || test_bad
|
||||
[ $? -eq 0 ] || ret=1
|
||||
|
|
Loading…
Reference in a new issue