diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-05-04 14:52:19 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-04 14:52:19 -0400 |
commit | bdaac4b2b6573d0954c58da9968536017160b1ed (patch) | |
tree | b645cdf0fab35e8e31b729eac58c8e3c57a64daa /test/e2e/play_kube_test.go | |
parent | 0e2a80a62258d242cad53cd0bc29a9598a8514ad (diff) | |
parent | 5fa6f686dbeaf04e1df8a888b9458c3d7f42eee8 (diff) | |
download | podman-bdaac4b2b6573d0954c58da9968536017160b1ed.tar.gz podman-bdaac4b2b6573d0954c58da9968536017160b1ed.tar.bz2 podman-bdaac4b2b6573d0954c58da9968536017160b1ed.zip |
Merge pull request #14037 from rhatdan/remoteuri
Report correct RemoteURI
Diffstat (limited to 'test/e2e/play_kube_test.go')
-rw-r--r-- | test/e2e/play_kube_test.go | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/e2e/play_kube_test.go b/test/e2e/play_kube_test.go index 0e91db04c..45414ec04 100644 --- a/test/e2e/play_kube_test.go +++ b/test/e2e/play_kube_test.go @@ -3180,8 +3180,10 @@ invalid kube kind Expect(ls).Should(Exit(0)) Expect(ls.OutputToStringArray()).To(HaveLen(1)) - containerLen := podmanTest.Podman([]string{"pod", "inspect", pod.Name, "--format", "'{{len .Containers}}'"}) - + containerLen := podmanTest.Podman([]string{"pod", "inspect", pod.Name, "--format", "{{len .Containers}}"}) + containerLen.WaitWithDefaultTimeout() + Expect(containerLen).Should(Exit(0)) + Expect(containerLen.OutputToString()).To(Equal("2")) ctr01Name := "ctr01" ctr02Name := "ctr02" @@ -3199,7 +3201,7 @@ invalid kube kind replace.WaitWithDefaultTimeout() Expect(replace).Should(Exit(0)) - newContainerLen := podmanTest.Podman([]string{"pod", "inspect", newPod.Name, "--format", "'{{len .Containers}}'"}) + newContainerLen := podmanTest.Podman([]string{"pod", "inspect", newPod.Name, "--format", "{{len .Containers}}"}) newContainerLen.WaitWithDefaultTimeout() Expect(newContainerLen).Should(Exit(0)) Expect(newContainerLen.OutputToString()).NotTo(Equal(containerLen.OutputToString())) |