Skip to content

Commit

Permalink
Less flaky tests
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonip committed Nov 21, 2024
1 parent 1e854c7 commit 402fd8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/beatcmd/beat_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ func TestRunManager_Reloader(t *testing.T) {
// TODO(carsonip): There's a bug in EA manager causing an extra reload even if apm tracing config did not change
// see https://github.com/elastic/apm-server/issues/14580.
//return runCount.Load() == 2 && stopCount.Load() == 2
return runCount.Load() == 3 && stopCount.Load() == 3
return runCount.Load() >= 2 && stopCount.Load() >= 2
}, 2*time.Second, 50*time.Millisecond)
}

Expand Down

0 comments on commit 402fd8b

Please sign in to comment.