diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/e2e/run_test.go | 10 | ||||
-rw-r--r-- | test/system/200-pod-top.bats | 2 |
2 files changed, 10 insertions, 2 deletions
diff --git a/test/e2e/run_test.go b/test/e2e/run_test.go index b0dc66707..2daf2fe5b 100644 --- a/test/e2e/run_test.go +++ b/test/e2e/run_test.go @@ -749,13 +749,19 @@ USER mail` It("podman run with bad healthcheck timeout", func() { session := podmanTest.Podman([]string{"run", "-dt", "--healthcheck-cmd", "foo", "--healthcheck-timeout", "0s", ALPINE, "top"}) - session.Wait() + session.WaitWithDefaultTimeout() Expect(session.ExitCode()).ToNot(Equal(0)) }) It("podman run with bad healthcheck start-period", func() { session := podmanTest.Podman([]string{"run", "-dt", "--healthcheck-cmd", "foo", "--healthcheck-start-period", "-1s", ALPINE, "top"}) - session.Wait() + session.WaitWithDefaultTimeout() + Expect(session.ExitCode()).ToNot(Equal(0)) + }) + + It("podman run with --add-host and --no-hosts fails", func() { + session := podmanTest.Podman([]string{"run", "-dt", "--add-host", "test1:127.0.0.1", "--no-hosts", ALPINE, "top"}) + session.WaitWithDefaultTimeout() Expect(session.ExitCode()).ToNot(Equal(0)) }) }) diff --git a/test/system/200-pod-top.bats b/test/system/200-pod-top.bats index 0200df00d..08f495fb1 100644 --- a/test/system/200-pod-top.bats +++ b/test/system/200-pod-top.bats @@ -3,6 +3,8 @@ load helpers @test "podman pod top - containers in different PID namespaces" { + skip "this test is not reliable. Reenable once pod-top is fixed." + # With infra=false, we don't get a /pause container (we also # don't pull k8s.gcr.io/pause ) no_infra='--infra=false' |