summaryrefslogtreecommitdiff
path: root/test/e2e/pod_pod_namespaces.go
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2020-04-27 15:47:41 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2020-04-27 17:08:56 +0200
commit1803b28d8cae1fd6c5e2ea508911309251a1349a (patch)
tree7ac7a4893cf6cb3cb78e50ef5e6f80e91c728a1b /test/e2e/pod_pod_namespaces.go
parentb69ba30b14e6d1b5ffd19bbf8b08582cf1a3d36c (diff)
downloadpodman-1803b28d8cae1fd6c5e2ea508911309251a1349a.tar.gz
podman-1803b28d8cae1fd6c5e2ea508911309251a1349a.tar.bz2
podman-1803b28d8cae1fd6c5e2ea508911309251a1349a.zip
test: enable all pod tests
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'test/e2e/pod_pod_namespaces.go')
-rw-r--r--test/e2e/pod_pod_namespaces.go5
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()