Skip to content

Commit

Permalink
tests: wait before checking service status on retry_service test
Browse files Browse the repository at this point in the history
cloud-init may take a little while to run, and we take this little time
before writing the 'mode' to journald

Signed-off-by: Renan Rodrigo <[email protected]>
  • Loading branch information
renanrodrigo authored and orndorffgrant committed Mar 13, 2024
1 parent f1776ed commit dfe1f1e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions features/api_configure_retry_service.feature
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ Feature: api.u.pro.attach.auto.configure_retry_service
"""
When I run `systemctl enable apitest.service` with sudo
When I reboot the machine
# Cloud init may take a while here
And I wait `15` seconds
Then I verify that running `systemctl status ubuntu-advantage.service` `with sudo` exits `0`
Then stdout matches regexp:
"""
Expand Down

0 comments on commit dfe1f1e

Please sign in to comment.