diff --git a/internal/component/database_observability/mysql/collector/query_sample_test.go b/internal/component/database_observability/mysql/collector/query_sample_test.go index 770ecda7f6..76e323a630 100644 --- a/internal/component/database_observability/mysql/collector/query_sample_test.go +++ b/internal/component/database_observability/mysql/collector/query_sample_test.go @@ -318,7 +318,7 @@ func TestQuerySampleSQLDriverErrors(t *testing.T) { require.Eventually(t, func() bool { return len(lokiClient.Received()) == 2 - }, 5000*time.Second, 100*time.Millisecond) + }, 5*time.Second, 100*time.Millisecond) collector.Stop() lokiClient.Stop()