Skip to content

Commit

Permalink
Update test as bug is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonip committed Dec 9, 2024
1 parent 7f33786 commit bd663e5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions internal/beatcmd/beat_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -332,10 +332,7 @@ func TestRunManager_Reloader(t *testing.T) {
require.NoError(t, err)

assert.Eventually(t, func() bool {
// 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 bd663e5

Please sign in to comment.