From 67b14112e3f5b0e33f4d3ca8f33ad05441ad0cd3 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Mon, 3 Jul 2023 15:40:21 +0200 Subject: [PATCH] XXX test a theory --- test/check-application | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/test/check-application b/test/check-application index a32e98271..d9b5664a9 100755 --- a/test/check-application +++ b/test/check-application @@ -1236,15 +1236,18 @@ class TestApplication(testlib.MachineCase): self.assertEqual(self.getContainerAttr(IMG_BUSYBOX, "CPU"), "n/a") self.assertEqual(memory, "n/a") - # Restart the container + # Restart the container; there is no steady-state difference in the UI (we don't show + # the PID or old_pid = self.execute(auth, "podman inspect --format '{{.State.Pid}}' swamped-crate") + # testlib.sit() self.performContainerAction(IMG_BUSYBOX, "Force restart") b.wait(lambda: old_pid != self.execute(auth, "podman inspect --format '{{.State.Pid}}' swamped-crate".strip())) self.waitContainer(container_sha, auth, name='swamped-crate', image=IMG_BUSYBOX, state='Running') + # testlib.sit() - self.filter_containers('all') - b.wait_visible("#containers-containers") + import time + time.sleep(5) self.waitContainerRow(IMG_BUSYBOX) if not auth: