diff --git a/src/test/authentication/t/007_pre_auth.pl b/src/test/authentication/t/007_pre_auth.pl index 04063f4721d9..9c2e3341d768 100644 --- a/src/test/authentication/t/007_pre_auth.pl +++ b/src/test/authentication/t/007_pre_auth.pl @@ -18,9 +18,14 @@ if ($ENV{enable_injection_points} ne 'yes') my $node = PostgreSQL::Test::Cluster->new('primary'); $node->init; + +# Disable autovacuum and logical replication workers; these could reach +# the injection point wait. $node->append_conf( 'postgresql.conf', q[ log_connections = 'receipt,authentication' +autovacuum = off +max_logical_replication_workers = 0 ]); $node->start;