Decrease sleep to 2 seconds

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Upstream-commit: 94b1bb82e19242e87edfc688bb3d3c3c010d4603
Component: engine
This commit is contained in:
Michael Crosby
2016-08-03 15:25:27 -07:00
parent 6cbe7c9c86
commit 82e10dbf88

View File

@ -874,7 +874,7 @@ func (s *DockerSuite) TestContainerApiWait(c *check.C) {
if daemonPlatform == "windows" {
sleepCmd = "sleep"
}
dockerCmd(c, "run", "--name", name, "busybox", sleepCmd, "5")
dockerCmd(c, "run", "--name", name, "busybox", sleepCmd, "2")
status, body, err := sockRequest("POST", "/containers/"+name+"/wait", nil)
c.Assert(err, checker.IsNil)