summaryrefslogtreecommitdiff
path: root/test/e2e/namespace_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-10-07 13:02:02 -0400
committerGitHub <noreply@github.com>2020-10-07 13:02:02 -0400
commitce93ab354234c989c52bdbf87166e117e7c97fce (patch)
tree5cd6445f92921c7015fbe0b9663983165bd58db3 /test/e2e/namespace_test.go
parenta7500e54a4646c7db477349e2530ac13df77b8fa (diff)
parentccc5bc167fa2c140e33963bb5cce99f40ff00281 (diff)
downloadpodman-ce93ab354234c989c52bdbf87166e117e7c97fce.tar.gz
podman-ce93ab354234c989c52bdbf87166e117e7c97fce.tar.bz2
podman-ce93ab354234c989c52bdbf87166e117e7c97fce.zip
Merge pull request #7845 from rhatdan/remote
Attempt to turn on some more remote tests
Diffstat (limited to 'test/e2e/namespace_test.go')
-rw-r--r--test/e2e/namespace_test.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/e2e/namespace_test.go b/test/e2e/namespace_test.go
index 92df3df48..951e98dfc 100644
--- a/test/e2e/namespace_test.go
+++ b/test/e2e/namespace_test.go
@@ -33,9 +33,14 @@ var _ = Describe("Podman namespaces", func() {
})
It("podman namespace test", func() {
- SkipIfRemote("FIXME This should work on Remote")
podman1 := podmanTest.Podman([]string{"--namespace", "test1", "run", "-d", ALPINE, "echo", "hello"})
podman1.WaitWithDefaultTimeout()
+ if IsRemote() {
+ // --namespace flag not supported in podman remote
+ Expect(podman1.ExitCode()).To(Equal(125))
+ Expect(podman1.ErrorToString()).To(ContainSubstring("unknown flag: --namespace"))
+ return
+ }
Expect(podman1.ExitCode()).To(Equal(0))
podman2 := podmanTest.Podman([]string{"--namespace", "test2", "ps", "-aq"})