summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-05-31 14:46:30 -0400
committerGitHub <noreply@github.com>2022-05-31 14:46:30 -0400
commit398e7ceb86fec37c28720391914655387778b554 (patch)
tree5e95293441a8aaef0952bcf9236eba82c4a76375 /test
parentdc67e6a182a09c8b65ef139fb9f15ddfdecae70f (diff)
parent205c8c071e8550b2ddd57cfaa71af7345cfd5fe7 (diff)
downloadpodman-398e7ceb86fec37c28720391914655387778b554.tar.gz
podman-398e7ceb86fec37c28720391914655387778b554.tar.bz2
podman-398e7ceb86fec37c28720391914655387778b554.zip
Merge pull request #14433 from Luap99/restore-net
fix podman container restore without CreateNetNS
Diffstat (limited to 'test')
-rw-r--r--test/e2e/checkpoint_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/checkpoint_test.go b/test/e2e/checkpoint_test.go
index 787178cd3..1da199714 100644
--- a/test/e2e/checkpoint_test.go
+++ b/test/e2e/checkpoint_test.go
@@ -676,8 +676,8 @@ var _ = Describe("Podman checkpoint", func() {
})
It("podman checkpoint and restore container with root file-system changes using --ignore-rootfs during restore", func() {
// Start the container
- localRunString := getRunString([]string{"--rm", ALPINE, "top"})
- session := podmanTest.Podman(localRunString)
+ // test that restore works without network namespace (https://github.com/containers/podman/issues/14389)
+ session := podmanTest.Podman([]string{"run", "--network=none", "-d", "--rm", ALPINE, "top"})
session.WaitWithDefaultTimeout()
Expect(session).Should(Exit(0))
Expect(podmanTest.NumberOfContainersRunning()).To(Equal(1))