diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-09-23 13:02:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-23 13:02:53 +0000 |
commit | 7d273c40f5411df00666bd5d1ea1df5662a75517 (patch) | |
tree | 8e5d9d2fe9656d62ba306bafa7ae82964250a68c /test/e2e/run_volume_test.go | |
parent | 5cedd830f7275e8dc3382502908b846bfa57a3b8 (diff) | |
parent | a277b7eb0bedd24eecede1c88e58fce2dea89991 (diff) | |
download | podman-7d273c40f5411df00666bd5d1ea1df5662a75517.tar.gz podman-7d273c40f5411df00666bd5d1ea1df5662a75517.tar.bz2 podman-7d273c40f5411df00666bd5d1ea1df5662a75517.zip |
Merge pull request #7727 from rhatdan/attach
Examine all SkipIfRemote functions
Diffstat (limited to 'test/e2e/run_volume_test.go')
-rw-r--r-- | test/e2e/run_volume_test.go | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/test/e2e/run_volume_test.go b/test/e2e/run_volume_test.go index c4ee05af9..11b22e85f 100644 --- a/test/e2e/run_volume_test.go +++ b/test/e2e/run_volume_test.go @@ -197,7 +197,7 @@ var _ = Describe("Podman run with volumes", func() { }) It("podman run with volumes and suid/dev/exec options", func() { - SkipIfRemote() + SkipIfRemote() // podman-remote does not support --volumes mountPath := filepath.Join(podmanTest.TempDir, "secrets") os.Mkdir(mountPath, 0755) @@ -227,7 +227,7 @@ var _ = Describe("Podman run with volumes", func() { }) It("podman run with tmpfs named volume mounts and unmounts", func() { - SkipIfRemote() + SkipIfRemote() // podman-remote does not support --volumes this test could be simplified to be tested on Remote. SkipIfRootless() volName := "testvol" mkVolume := podmanTest.Podman([]string{"volume", "create", "--opt", "type=tmpfs", "--opt", "device=tmpfs", "--opt", "o=nodev", "testvol"}) @@ -315,7 +315,6 @@ var _ = Describe("Podman run with volumes", func() { }) It("podman run with anonymous volume", func() { - SkipIfRemote() list1 := podmanTest.Podman([]string{"volume", "list", "--quiet"}) list1.WaitWithDefaultTimeout() Expect(list1.ExitCode()).To(Equal(0)) @@ -334,7 +333,6 @@ var _ = Describe("Podman run with volumes", func() { }) It("podman rm -v removes anonymous volume", func() { - SkipIfRemote() list1 := podmanTest.Podman([]string{"volume", "list", "--quiet"}) list1.WaitWithDefaultTimeout() Expect(list1.ExitCode()).To(Equal(0)) @@ -436,7 +434,6 @@ var _ = Describe("Podman run with volumes", func() { }) It("Podman mount over image volume with trailing /", func() { - SkipIfRemote() image := "podman-volume-test:trailing" dockerfile := ` FROM alpine:latest @@ -456,7 +453,7 @@ VOLUME /test/` }) It("podman run with overlay volume flag", func() { - SkipIfRemote() + SkipIfRemote() // Overlay volumes only work locally if os.Getenv("container") != "" { Skip("Overlay mounts not supported when running in a container") } |