diff options
author | Noah Misch <noah@leadboat.com> | 2021-05-31 00:29:58 -0700 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2021-05-31 00:30:02 -0700 |
commit | b6ca46e12d5962f316cd937efb490289362f0bad (patch) | |
tree | 63d68fd2feaab9238a4611a2385d9a899fec89d9 /src/test/perl/PostgresNode.pm | |
parent | a15d84470db8f42d3850a007dfa166d3fce5bc66 (diff) | |
download | postgresql-b6ca46e12d5962f316cd937efb490289362f0bad.tar.gz postgresql-b6ca46e12d5962f316cd937efb490289362f0bad.zip |
Raise a timeout to 180s, in test 010_logical_decoding_timelines.pl.
Per buildfarm member hornet. Also, update Pod documentation showing the
lower value. Back-patch to v10, where the test first appeared.
Diffstat (limited to 'src/test/perl/PostgresNode.pm')
-rw-r--r-- | src/test/perl/PostgresNode.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/perl/PostgresNode.pm b/src/test/perl/PostgresNode.pm index d06a8319cc0..92221d2cc68 100644 --- a/src/test/perl/PostgresNode.pm +++ b/src/test/perl/PostgresNode.pm @@ -29,9 +29,9 @@ PostgresNode - class representing PostgreSQL server instance # as well as the psql exit code. Pass some extra psql # options. If there's an error from psql raise an exception. my ($stdout, $stderr, $timed_out); - my $cmdret = $node->psql('postgres', 'SELECT pg_sleep(60)', + my $cmdret = $node->psql('postgres', 'SELECT pg_sleep(600)', stdout => \$stdout, stderr => \$stderr, - timeout => 30, timed_out => \$timed_out, + timeout => 180, timed_out => \$timed_out, extra_params => ['--single-transaction'], on_error_die => 1) print "Sleep timed out" if $timed_out; @@ -1323,9 +1323,9 @@ If given, it must be an array reference containing additional parameters to B<ps e.g. my ($stdout, $stderr, $timed_out); - my $cmdret = $node->psql('postgres', 'SELECT pg_sleep(60)', + my $cmdret = $node->psql('postgres', 'SELECT pg_sleep(600)', stdout => \$stdout, stderr => \$stderr, - timeout => 30, timed_out => \$timed_out, + timeout => 180, timed_out => \$timed_out, extra_params => ['--single-transaction']) will set $cmdret to undef and $timed_out to a true value. |