diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-04-27 20:37:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-27 20:37:03 +0200 |
commit | 733c38028df9d8c0b0688a54ef948a21b6260f26 (patch) | |
tree | ea9d691a33291bc4dc635296283c9f5de3d315a3 /test/e2e/pod_pod_namespaces.go | |
parent | ccf009d22e45e9a517b65619d6d46a8d40cb3328 (diff) | |
parent | 1803b28d8cae1fd6c5e2ea508911309251a1349a (diff) | |
download | podman-733c38028df9d8c0b0688a54ef948a21b6260f26.tar.gz podman-733c38028df9d8c0b0688a54ef948a21b6260f26.tar.bz2 podman-733c38028df9d8c0b0688a54ef948a21b6260f26.zip |
Merge pull request #5999 from giuseppe/fix-pod-infra-container
v2, podman: fix pod tests
Diffstat (limited to 'test/e2e/pod_pod_namespaces.go')
-rw-r--r-- | test/e2e/pod_pod_namespaces.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/e2e/pod_pod_namespaces.go b/test/e2e/pod_pod_namespaces.go index 7acdfd356..09f716806 100644 --- a/test/e2e/pod_pod_namespaces.go +++ b/test/e2e/pod_pod_namespaces.go @@ -19,7 +19,6 @@ var _ = Describe("Podman pod create", func() { ) BeforeEach(func() { - Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) @@ -50,7 +49,7 @@ var _ = Describe("Podman pod create", func() { session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) - check := podmanTest.Podman([]string{"ps", "-a", "--ns", "--format", "{{.IPC}} {{.UTS}} {{.NET}}"}) + check := podmanTest.Podman([]string{"ps", "-a", "--ns", "--format", "{{.Namespaces.IPC}} {{.Namespaces.UTS}} {{.Namespaces.NET}}"}) check.WaitWithDefaultTimeout() Expect(check.ExitCode()).To(Equal(0)) outputArray := check.OutputToStringArray() @@ -77,7 +76,7 @@ var _ = Describe("Podman pod create", func() { session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) - check := podmanTest.Podman([]string{"ps", "-a", "--ns", "--format", "{{.PIDNS}}"}) + check := podmanTest.Podman([]string{"ps", "-a", "--ns", "--format", "{{.Namespaces.PIDNS}}"}) check.WaitWithDefaultTimeout() Expect(check.ExitCode()).To(Equal(0)) outputArray := check.OutputToStringArray() |