Skip to content

Commit

Permalink
Merge pull request #11449 from dzedro/ntp
Browse files Browse the repository at this point in the history
ntp_client: Wait for 4 sources which responded to request
  • Loading branch information
dzedro committed Nov 24, 2020
2 parents 6be07b6 + 6eafcc9 commit c580c56
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/console/ntp_client.pm
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ sub run {
if (is_sle) {
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';
}

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

0 comments on commit c580c56

Please sign in to comment.