зеркало из https://github.com/microsoft/docker.git
optimize DockerSuite.TestEventsAttach
Signed-off-by: Shijiang Wei <mountkin@gmail.com>
This commit is contained in:
Родитель
2b97c96742
Коммит
77a0f77e7f
|
@ -461,7 +461,7 @@ func (s *DockerSuite) TestEventsAttach(c *check.C) {
|
|||
|
||||
c.Assert(stdin.Close(), checker.IsNil)
|
||||
|
||||
dockerCmd(c, "stop", cID)
|
||||
dockerCmd(c, "kill", cID)
|
||||
|
||||
out, _ = dockerCmd(c, "events", "--since=0", "-f", "container="+cID, "--until="+strconv.Itoa(int(since)))
|
||||
c.Assert(out, checker.Contains, "attach", check.Commentf("Missing 'attach' log event"))
|
||||
|
|
Загрузка…
Ссылка в новой задаче