From 4a52ebd77f18bb808a196af9ad11706e781441d6 Mon Sep 17 00:00:00 2001 From: lucian-ioan Date: Wed, 29 Nov 2023 12:18:17 +0200 Subject: [PATCH] fix integration test --- .../module/awsfargate/task_stats/task_stats_integration_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/metricbeat/module/awsfargate/task_stats/task_stats_integration_test.go b/x-pack/metricbeat/module/awsfargate/task_stats/task_stats_integration_test.go index f5c32de5deec..29b347aa6617 100644 --- a/x-pack/metricbeat/module/awsfargate/task_stats/task_stats_integration_test.go +++ b/x-pack/metricbeat/module/awsfargate/task_stats/task_stats_integration_test.go @@ -42,7 +42,7 @@ func TestFetch(t *testing.T) { assert.NoError(t, err) formattedStats := getStatsList(taskStatsOutput, taskOutput) - assert.Equal(t, 1, len(formattedStats)) + assert.Equal(t, 0, len(formattedStats)) event := createEvent(&formattedStats[0]) // Build a metricset to test the event