mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #16545 from HuKeping/fixtest
Fix test for container events
This commit is contained in:
commit
1e514de2e4
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ func (s *DockerSuite) TestEventsContainerEvents(c *check.C) {
|
||||||
if createEvent[len(createEvent)-1] != "create" {
|
if createEvent[len(createEvent)-1] != "create" {
|
||||||
c.Fatalf("event should be create, not %#v", createEvent)
|
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)
|
c.Fatalf("event should be attach, not %#v", attachEvent)
|
||||||
}
|
}
|
||||||
if startEvent[len(startEvent)-1] != "start" {
|
if startEvent[len(startEvent)-1] != "start" {
|
||||||
|
|
Loading…
Add table
Reference in a new issue