mirror of
https://github.com/containers/podman.git
synced 2025-06-19 08:09:12 +08:00
Switch to using --time as opposed to --timeout to better match Docker.
We need to consistently use --time rather then --timeout throughout the code. Fix locations where timeout defaults are not set correctly as well. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -255,7 +255,7 @@ var _ = Describe("Podman run with volumes", func() {
|
||||
Expect(strings.Contains(mountOut2, volName)).To(BeTrue())
|
||||
|
||||
// Stop the container to unmount
|
||||
podmanStopSession := podmanTest.Podman([]string{"stop", "--timeout", "0", ctrName})
|
||||
podmanStopSession := podmanTest.Podman([]string{"stop", "--time", "0", ctrName})
|
||||
podmanStopSession.WaitWithDefaultTimeout()
|
||||
Expect(podmanStopSession.ExitCode()).To(Equal(0))
|
||||
|
||||
|
Reference in New Issue
Block a user