mirror of
https://github.com/containers/podman.git
synced 2025-07-26 09:58:36 +08:00
test/e2e: containers.conf tests add missing Wait()
It is not clear why but without the wait is seems like the podman process just hangs forever which now causes ginkgo to block until it exits. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@ -231,6 +231,8 @@ var _ = Describe("Verify podman containers.conf usage", func() {
|
||||
Expect(hostNS).To(Equal(ctrNS))
|
||||
|
||||
session = podmanTest.Podman([]string{"run", option, "private", ALPINE, "ls", "-l", nspath})
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session).Should(Exit(0))
|
||||
fields = strings.Split(session.OutputToString(), " ")
|
||||
ctrNS = fields[len(fields)-1]
|
||||
Expect(hostNS).ToNot(Equal(ctrNS))
|
||||
|
Reference in New Issue
Block a user