@@ -31,9 +31,9 @@ PostgresNode - class representing PostgreSQL server instance
31
31
# as well as the psql exit code. Pass some extra psql
32
32
# options. If there's an error from psql raise an exception.
33
33
my ($stdout, $stderr, $timed_out);
34
- my $cmdret = $node->psql('postgres', 'SELECT pg_sleep(60 )',
34
+ my $cmdret = $node->psql('postgres', 'SELECT pg_sleep(600 )',
35
35
stdout => \$stdout, stderr => \$stderr,
36
- timeout => 30 , timed_out => \$timed_out,
36
+ timeout => 180 , timed_out => \$timed_out,
37
37
extra_params => ['--single-transaction'],
38
38
on_error_die => 1)
39
39
print "Sleep timed out" if $timed_out;
@@ -1613,9 +1613,9 @@ If given, it must be an array reference containing additional parameters to B<ps
1613
1613
e.g.
1614
1614
1615
1615
my ($stdout, $stderr, $timed_out);
1616
- my $cmdret = $node->psql('postgres', 'SELECT pg_sleep(60 )',
1616
+ my $cmdret = $node->psql('postgres', 'SELECT pg_sleep(600 )',
1617
1617
stdout => \$stdout, stderr => \$stderr,
1618
- timeout => 30 , timed_out => \$timed_out,
1618
+ timeout => 180 , timed_out => \$timed_out,
1619
1619
extra_params => ['--single-transaction'])
1620
1620
1621
1621
will set $cmdret to undef and $timed_out to a true value.
0 commit comments