From 2f6701013b0c07f4b8e8bc69fcdbedc8ae6c0405 Mon Sep 17 00:00:00 2001 From: Joshua Powers Date: Tue, 5 Jul 2022 09:38:05 -0600 Subject: [PATCH] test: Update wait statement for postgresql_extensible (#11447) --- .../inputs/postgresql_extensible/postgresql_extensible_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/inputs/postgresql_extensible/postgresql_extensible_test.go b/plugins/inputs/postgresql_extensible/postgresql_extensible_test.go index 9550a52dd..2364573b7 100644 --- a/plugins/inputs/postgresql_extensible/postgresql_extensible_test.go +++ b/plugins/inputs/postgresql_extensible/postgresql_extensible_test.go @@ -23,7 +23,7 @@ func queryRunner(t *testing.T, q query) *testutil.Accumulator { "POSTGRES_HOST_AUTH_METHOD": "trust", }, WaitingFor: wait.ForAll( - wait.ForLog("database system is ready to accept connections"), + wait.ForLog("database system is ready to accept connections").WithOccurrence(2), wait.ForListeningPort(nat.Port(servicePort)), ), }