From 202709d178a24bcbfac223f0bcd9c4eda669e928 Mon Sep 17 00:00:00 2001 From: Jessica Frazelle Date: Fri, 27 Feb 2015 14:48:39 -0800 Subject: [PATCH] fix racy events test Docker-DCO-1.1-Signed-off-by: Jessie Frazelle (github: jfrazelle) --- integration-cli/docker_cli_events_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-cli/docker_cli_events_test.go b/integration-cli/docker_cli_events_test.go index be6e549ea5..fd542baf25 100644 --- a/integration-cli/docker_cli_events_test.go +++ b/integration-cli/docker_cli_events_test.go @@ -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) }