diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-03-27 10:49:42 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-27 10:49:42 -0700 |
commit | 340eeec1b654880f9d339c9ac2957bcaeaee6829 (patch) | |
tree | 4256daeae13e2de6145d3b5c5be5f1929e955bbc /test | |
parent | 1ff03ee9f5e72fd62ba8e798035fa43f8f18b6dd (diff) | |
parent | 0cd92eae65b31cdbaa19e3cccb0e3234196a6d17 (diff) | |
download | podman-340eeec1b654880f9d339c9ac2957bcaeaee6829.tar.gz podman-340eeec1b654880f9d339c9ac2957bcaeaee6829.tar.bz2 podman-340eeec1b654880f9d339c9ac2957bcaeaee6829.zip |
Merge pull request #2747 from mheon/dns_none
Add --dns=none
Diffstat (limited to 'test')
-rw-r--r-- | test/e2e/run_test.go | 10 |
1 files changed, 8 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)) }) }) |