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