Increase timeout in 021_row_visibility.pl.
authorTom Lane <[email protected]>
Tue, 22 Dec 2020 16:10:12 +0000 (11:10 -0500)
committerTom Lane <[email protected]>
Tue, 22 Dec 2020 16:10:12 +0000 (11:10 -0500)
Commit 7b28913bc figured 30 seconds is long enough for anybody,
but in contexts like valgrind runs, it isn't necessarily.

src/test/recovery/t/021_row_visibility.pl

index 8a466e56e0fdcccf9af82a7e7318aae974925e35..fac6646a872fe238717d7618ea59492cd3cd77dd 100644 (file)
@@ -33,7 +33,7 @@ $node_standby->start;
 # instance being driven by us, add a timeout high enough that it
 # should never trigger even on very slow machines, unless something
 # is really wrong.
-my $psql_timeout = IPC::Run::timer(30);
+my $psql_timeout = IPC::Run::timer(300);
 
 # One psql to primary and standby each, for all queries. That allows
 # to check uncommitted changes being replicated and such.