Fix test for container events
Signed-off-by: Hu Keping <hukeping@huawei.com> Upstream-commit: 5505bcdd628de4a45781609bdc10d203aab77834 Component: engine
This commit is contained in:
@ -146,7 +146,7 @@ func (s *DockerSuite) TestEventsContainerEvents(c *check.C) {
|
||||
if createEvent[len(createEvent)-1] != "create" {
|
||||
c.Fatalf("event should be create, not %#v", createEvent)
|
||||
}
|
||||
if attachEvent[len(createEvent)-1] != "attach" {
|
||||
if attachEvent[len(attachEvent)-1] != "attach" {
|
||||
c.Fatalf("event should be attach, not %#v", attachEvent)
|
||||
}
|
||||
if startEvent[len(startEvent)-1] != "start" {
|
||||
|
||||
Reference in New Issue
Block a user