summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2022-07-07 11:22:40 -0600
committerGitHub <noreply@github.com>2022-07-07 11:22:40 -0600
commitd52ac4422b1b8f959e411b13680e7fb40880a939 (patch)
treecc49d83571c8f8750061407219d6eb02ba7effb3 /test
parentdd0418a5fe0c44d4358b0118bd2a9847d78a80a2 (diff)
parent0424084b303b2ebb0a0fa28c6dd3f1ef456ce4ba (diff)
downloadpodman-d52ac4422b1b8f959e411b13680e7fb40880a939.tar.gz
podman-d52ac4422b1b8f959e411b13680e7fb40880a939.tar.bz2
podman-d52ac4422b1b8f959e411b13680e7fb40880a939.zip
Merge pull request #14852 from cdoern/podUTS
fix namespace reporting
Diffstat (limited to 'test')
-rw-r--r--test/e2e/pod_create_test.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/e2e/pod_create_test.go b/test/e2e/pod_create_test.go
index 10a8d52b5..3caae2bd5 100644
--- a/test/e2e/pod_create_test.go
+++ b/test/e2e/pod_create_test.go
@@ -1145,9 +1145,7 @@ ENTRYPOINT ["sleep","99999"]
session = podmanTest.Podman([]string{"run", "-it", "--pod", session.OutputToString(), ALPINE, "printenv", "HOSTNAME"})
session.WaitWithDefaultTimeout()
Expect(session).Should(Exit(0))
- if !IsRemote() { // remote hostname will not match os.Hostname()
- Expect(session.OutputToString()).To(ContainSubstring(hostname))
- }
+ Expect(session.OutputToString()).To(ContainSubstring(hostname))
podName := "utsPod"
ns := "ns:/proc/self/ns/"