From bd663e58d8d6a53de91c211a9cfb71d13f50a855 Mon Sep 17 00:00:00 2001 From: Carson Ip Date: Mon, 9 Dec 2024 15:16:43 +0000 Subject: [PATCH] Update test as bug is fixed --- internal/beatcmd/beat_test.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/internal/beatcmd/beat_test.go b/internal/beatcmd/beat_test.go index c105beee999..fca8509aa1f 100644 --- a/internal/beatcmd/beat_test.go +++ b/internal/beatcmd/beat_test.go @@ -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) }