Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Give recovery tests more time to finish
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 25 Jul 2016 05:34:35 +0000 (01:34 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 25 Jul 2016 05:34:35 +0000 (01:34 -0400)
These tests are currently only running in buildfarm member hamster,
which is purposefully very slow.  This suite has failed a couple of
times recently because of timeouts, so increase the allowed number of
iterations to avoid spurious failures.

Author: MichaĆ«l Paquier

src/test/perl/PostgresNode.pm

index 57679195b424c2a4a3055530d4848b212c698d2d..e629373ea2b9bd5e02118729d9dd9a04fa14331b 100644 (file)
@@ -1192,7 +1192,7 @@ sub poll_query_until
 {
    my ($self, $dbname, $query) = @_;
 
-   my $max_attempts = 90;
+   my $max_attempts = 180;
    my $attempts     = 0;
    my ($stdout, $stderr);