diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-03-05 14:06:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-05 14:06:25 -0500 |
commit | f3b75ebea05edb9abf1f20c638054c552f9237ed (patch) | |
tree | 84c5b81f44a6c6561ecaeea953bc72794757ee2e /test/e2e | |
parent | 44e6d2002393bbcff7457462bfac3a4f6c91bfa4 (diff) | |
parent | d107c37296d3ad0173e2905ebff0f89fc416e91d (diff) | |
download | podman-f3b75ebea05edb9abf1f20c638054c552f9237ed.tar.gz podman-f3b75ebea05edb9abf1f20c638054c552f9237ed.tar.bz2 podman-f3b75ebea05edb9abf1f20c638054c552f9237ed.zip |
Merge pull request #9635 from rhatdan/stop
podman-remote stop -time 0 does not work
Diffstat (limited to 'test/e2e')
-rw-r--r-- | test/e2e/stop_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/stop_test.go b/test/e2e/stop_test.go index dd264eb0d..d6d58c94c 100644 --- a/test/e2e/stop_test.go +++ b/test/e2e/stop_test.go @@ -150,7 +150,7 @@ var _ = Describe("Podman stop", func() { session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) - session = podmanTest.Podman([]string{"stop", "--time", "1", "test4"}) + session = podmanTest.Podman([]string{"stop", "--time", "0", "test4"}) session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) output := session.OutputToString() @@ -166,7 +166,7 @@ var _ = Describe("Podman stop", func() { session := podmanTest.Podman([]string{"run", "-d", "--name", "test5", ALPINE, "sleep", "100"}) session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) - session = podmanTest.Podman([]string{"stop", "--timeout", "1", "test5"}) + session = podmanTest.Podman([]string{"stop", "--timeout", "0", "test5"}) // Without timeout container stops in 10 seconds // If not stopped in 5 seconds, then --timeout did not work session.Wait(5) |