More test tweaks to avoid "StopSignal ... 10 seconds" warning

Continuing to see CI failures of the form "StopSignal SIGTERM
failed to stop container in 10 seconds". Work around those,
either by adding "-t0" to podman stop, or by using Expect(Exit(0))
instead of ExitCleanly().

Addresses, but does not close, #20196

Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
Ed Santiago
2024-02-06 12:49:44 -07:00
parent e595441891
commit e5f86f8628
7 changed files with 13 additions and 12 deletions

View File

@ -329,7 +329,7 @@ var _ = Describe("Podman rm", func() {
Expect(ctr2).Should(ExitCleanly())
cid2 := ctr2.OutputToString()
rm := podmanTest.Podman([]string{"rm", "-fa"})
rm := podmanTest.Podman([]string{"rm", "-t0", "-fa"})
rm.WaitWithDefaultTimeout()
Expect(rm).Should(ExitCleanly())
Expect(rm.ErrorToString()).To(BeEmpty(), "rm -fa error logged")