mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
fix racy events test
Docker-DCO-1.1-Signed-off-by: Jessie Frazelle <jess@docker.com> (github: jfrazelle)
This commit is contained in:
parent
2768ce0e4e
commit
202709d178
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ func TestEventsFilters(t *testing.T) {
|
||||||
|
|
||||||
// make sure we at least got 2 start events
|
// make sure we at least got 2 start events
|
||||||
count := strings.Count(out, "start")
|
count := strings.Count(out, "start")
|
||||||
if count != 2 {
|
if count < 2 {
|
||||||
t.Fatalf("should have had 2 start events but had %d, out: %s", count, out)
|
t.Fatalf("should have had 2 start events but had %d, out: %s", count, out)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue