From 60d3a6e1a5fa84cab63e8cbddb766e0fcb9ed13f Mon Sep 17 00:00:00 2001 From: Cristian Greco Date: Thu, 5 Dec 2024 15:56:16 +0100 Subject: [PATCH] `database_observability`: fix test wait time --- .../database_observability/mysql/collector/query_sample_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()