summaryrefslogtreecommitdiff
path: root/test/e2e
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-11-04 19:33:36 +0100
committerGitHub <noreply@github.com>2020-11-04 19:33:36 +0100
commitab273a9cbd08e25e3794c606a863644eb3a06e30 (patch)
treea79c3333d69b04337aa2296636884197a5db75a4 /test/e2e
parent4fb7378ee4ca2af5d521f7f75b691d4fe00b089b (diff)
parent46498331a3ed6778664389e3a3c4cf5b0f658c66 (diff)
downloadpodman-ab273a9cbd08e25e3794c606a863644eb3a06e30.tar.gz
podman-ab273a9cbd08e25e3794c606a863644eb3a06e30.tar.bz2
podman-ab273a9cbd08e25e3794c606a863644eb3a06e30.zip
Merge pull request #8074 from cevich/new_f33_images
Cirrus: Use F33 VM image
Diffstat (limited to 'test/e2e')
-rw-r--r--test/e2e/pod_infra_container_test.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/e2e/pod_infra_container_test.go b/test/e2e/pod_infra_container_test.go
index 797d51c33..7ec36b2f8 100644
--- a/test/e2e/pod_infra_container_test.go
+++ b/test/e2e/pod_infra_container_test.go
@@ -383,12 +383,14 @@ var _ = Describe("Podman pod create", func() {
podID := session.OutputToString()
// verify we can add a host to the infra's /etc/hosts
- session = podmanTest.Podman([]string{"run", "--pod", podID, "--add-host", "foobar:127.0.0.1", BB, "ping", "-c", "1", "foobar"})
+ // N/B: Using alpine for ping, since BB ping throws
+ // permission denied error as of Fedora 33.
+ session = podmanTest.Podman([]string{"run", "--pod", podID, "--add-host", "foobar:127.0.0.1", ALPINE, "ping", "-c", "1", "foobar"})
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
// verify we can see the other hosts of infra's /etc/hosts
- session = podmanTest.Podman([]string{"run", "--pod", podID, BB, "ping", "-c", "1", "foobar"})
+ session = podmanTest.Podman([]string{"run", "--pod", podID, ALPINE, "ping", "-c", "1", "foobar"})
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
})