Skip to content

Commit

Permalink
test: Wait a bit on ubuntu-2204 before running the second health check
Browse files Browse the repository at this point in the history
Otherwise the request gets ignored sometimes. Something something
systemd, maybe...
  • Loading branch information
mvollmer committed Oct 21, 2024
1 parent 51690a7 commit 3b88bd5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/check-application
Original file line number Diff line number Diff line change
Expand Up @@ -2648,6 +2648,8 @@ class TestApplication(testlib.MachineCase):
b.wait_not_present(".ct-listing-panel-body tbody:nth-of-type(2)")

# Trigger run manually, adds one more healthy run
if self.machine.image == "ubuntu-2204":
time.sleep(5) # wait a bit, otherwise the request might be ignored
self.performContainerAction("healthy", "Run health check")
b.wait_visible(".ct-listing-panel-body tbody:nth-of-type(2) svg.green")
b.wait_not_present(".ct-listing-panel-body tbody:nth-of-type(3)")
Expand Down

0 comments on commit 3b88bd5

Please sign in to comment.