From 0424084b303b2ebb0a0fa28c6dd3f1ef456ce4ba Mon Sep 17 00:00:00 2001 From: Charlie Doern Date: Thu, 7 Jul 2022 08:51:12 -0400 Subject: fix namespace reporting somehow, #14501 got through CI even though the remote tests fail. The testa are failing due to the PodSpecGenerator not containing the UTSNs entitiy and infra's spec is not yet allowed to be accessed remotely [NO NEW TESTS NEEDED] resolves #14847 Signed-off-by: Charlie Doern --- test/e2e/pod_create_test.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test') 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/" -- cgit v1.2.3-54-g00ecf