Avoid failing the test if container is already stopped
Signed-off-by: Simon Ferquel <simon.ferquel@docker.com> (cherry picked from commit adf75503dba2e782139173c011999eacd0c3d7e2) Signed-off-by: Andrew Hsu <andrewhsu@docker.com>
This commit is contained in:
committed by
Andrew Hsu
parent
79757e0860
commit
87f5f1d49c
@@ -97,7 +97,7 @@ func (s *DockerSuite) TestEventsOOMDisableTrue(c *check.C) {
|
||||
}()
|
||||
|
||||
c.Assert(waitRun("oomTrue"), checker.IsNil)
|
||||
defer dockerCmd(c, "kill", "oomTrue")
|
||||
defer dockerCmdWithResult("kill", "oomTrue")
|
||||
containerID := inspectField(c, "oomTrue", "Id")
|
||||
|
||||
testActions := map[string]chan bool{
|
||||
|
||||
Reference in New Issue
Block a user