diff --git a/src/bin/psql/t/001_basic.pl b/src/bin/psql/t/001_basic.pl
index 6839f27cbe5..f165b196110 100644
--- a/src/bin/psql/t/001_basic.pl
+++ b/src/bin/psql/t/001_basic.pl
@@ -396,6 +396,9 @@ psql_fails_like(
 	qr/minimum row count specified more than once/,
 	'\watch, minimum rows is specified more than once');
 
+$node->append_conf('postgresql.conf', 'post_auth_delay=3');
+$node->reload();
+
 psql_like(
 	$node,
 	sprintf(
@@ -407,6 +410,9 @@ psql_like(
 	qr/^123$/,
 	'\watch, 2 minimum rows');
 
+$node->append_conf('postgresql.conf', 'post_auth_delay=0');
+$node->reload();
+
 # Check \watch errors
 psql_fails_like(
 	$node,
