Merge pull request #11070 from jfrazelle/fix-racyevents-test
fix racy events test Upstream-commit: b52a2cfdf1aabf15a4a1a630b3899ae373516517 Component: engine
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user