Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ntp_client: Make wait for sources response robust #11475

Merged
merged 1 commit into from
Nov 25, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/console/ntp_client.pm
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ sub run {
systemctl 'enable chronyd';
systemctl 'start chronyd';
# bsc#1179022 avoid '503 No such source' error while chrony does pick responding sources after start
assert_script_run 'until chronyc sources|grep "Number of sources = 4"; do sleep 1; echo "waiting for 4 ntp sources response"; done';
assert_script_run 'until chronyc activity|grep "0 sources doing burst.*online"; do sleep 1; echo "waiting for ntp sources response"; done';
}

# ensure that ntpd is neither installed nor enabled nor active
Expand Down