diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2020-04-24 11:52:11 +0200 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2020-04-24 12:56:21 +0200 |
commit | 9f8d002e1f9630207314c18b2048d6333619191f (patch) | |
tree | c19754c7f5d2d11fc3dd0266b6b2c22553fe017b | |
parent | a3acc4f97775a446f93deeb924ab99b708bcfe88 (diff) | |
download | podman-9f8d002e1f9630207314c18b2048d6333619191f.tar.gz podman-9f8d002e1f9630207314c18b2048d6333619191f.tar.bz2 podman-9f8d002e1f9630207314c18b2048d6333619191f.zip |
test: enable some run_test.go tests that pass now
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
-rw-r--r-- | test/e2e/run_test.go | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/e2e/run_test.go b/test/e2e/run_test.go index c84bbe91f..df97ddf69 100644 --- a/test/e2e/run_test.go +++ b/test/e2e/run_test.go @@ -29,7 +29,6 @@ var _ = Describe("Podman run", func() { ) BeforeEach(func() { - Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) @@ -252,6 +251,7 @@ var _ = Describe("Podman run", func() { }) It("podman run --host-env environment test", func() { + Skip(v2fail) os.Setenv("FOO", "BAR") session := podmanTest.Podman([]string{"run", "--rm", "--env-host", ALPINE, "printenv", "FOO"}) session.WaitWithDefaultTimeout() @@ -469,6 +469,7 @@ var _ = Describe("Podman run", func() { }) It("podman run log-opt", func() { + Skip(v2fail) log := filepath.Join(podmanTest.TempDir, "/container.log") session := podmanTest.Podman([]string{"run", "--rm", "--log-opt", fmt.Sprintf("path=%s", log), ALPINE, "ls"}) session.WaitWithDefaultTimeout() @@ -565,6 +566,7 @@ var _ = Describe("Podman run", func() { }) It("podman run with group-add", func() { + Skip(v2fail) SkipIfRootless() session := podmanTest.Podman([]string{"run", "--rm", "--group-add=audio", "--group-add=nogroup", "--group-add=777", ALPINE, "id"}) session.WaitWithDefaultTimeout() @@ -708,6 +710,7 @@ USER mail` }) It("podman run --volumes-from flag with built-in volumes", func() { + Skip(v2fail) session := podmanTest.Podman([]string{"create", redis, "sh"}) session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) @@ -802,6 +805,7 @@ USER mail` }) It("podman run --pod automatically", func() { + Skip(v2fail) session := podmanTest.Podman([]string{"run", "--pod", "new:foobar", ALPINE, "ls"}) session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) @@ -874,6 +878,7 @@ USER mail` }) It("podman run --http-proxy test", func() { + Skip(v2fail) os.Setenv("http_proxy", "1.2.3.4") session := podmanTest.Podman([]string{"run", "--rm", ALPINE, "printenv", "http_proxy"}) session.WaitWithDefaultTimeout() @@ -932,6 +937,7 @@ USER mail` }) It("podman run with cgroups=disabled runs without cgroups", func() { + Skip(v2fail) SkipIfRemote() SkipIfRootless() // Only works on crun |