fix racy events test

Docker-DCO-1.1-Signed-off-by: Jessie Frazelle <jess@docker.com> (github: jfrazelle)
Upstream-commit: 202709d178a24bcbfac223f0bcd9c4eda669e928
Component: engine
This commit is contained in:
Jessica Frazelle
2015-02-27 14:48:39 -08:00
parent 7595c1bf94
commit 15ea5ae8fb

View File

@ -239,7 +239,7 @@ func TestEventsFilters(t *testing.T) {
// make sure we at least got 2 start events
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)
}