@@ -29,9 +29,9 @@ PostgresNode - class representing PostgreSQL server instance
2929 # as well as the psql exit code. Pass some extra psql
3030 # options. If there's an error from psql raise an exception.
3131 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 )',
3333 stdout => \$stdout, stderr => \$stderr,
34- timeout => 30 , timed_out => \$timed_out,
34+ timeout => 180 , timed_out => \$timed_out,
3535 extra_params => ['--single-transaction'],
3636 on_error_die => 1)
3737 print "Sleep timed out" if $timed_out;
@@ -1406,9 +1406,9 @@ If given, it must be an array reference containing additional parameters to B<ps
14061406e.g.
14071407
14081408 my ($stdout, $stderr, $timed_out);
1409- my $cmdret = $node->psql('postgres', 'SELECT pg_sleep(60 )',
1409+ my $cmdret = $node->psql('postgres', 'SELECT pg_sleep(600 )',
14101410 stdout => \$stdout, stderr => \$stderr,
1411- timeout => 30 , timed_out => \$timed_out,
1411+ timeout => 180 , timed_out => \$timed_out,
14121412 extra_params => ['--single-transaction'])
14131413
14141414will set $cmdret to undef and $timed_out to a true value.
0 commit comments