diff --git a/src/bin/pg_walsummary/t/002_blocks.pl b/src/bin/pg_walsummary/t/002_blocks.pl index c1303b188cf..d4bae3d5649 100644 --- a/src/bin/pg_walsummary/t/002_blocks.pl +++ b/src/bin/pg_walsummary/t/002_blocks.pl @@ -46,12 +46,11 @@ SELECT EXISTS ( EOM ok($result, "WAL summarization caught up after insert"); -# Get a list of what summaries we now have. -my $progress = $node1->safe_psql('postgres', <safe_psql('postgres', <poll_query_until('postgres', < '$summarized_lsn' + WHERE end_lsn > '$summarized_lsn' ) EOM ok($result, "got new WAL summary after update"); @@ -73,7 +72,7 @@ ok($result, "got new WAL summary after update"); # Figure out the exact details for the new summary file. my $details = $node1->safe_psql('postgres', < '$summarized_lsn' + WHERE end_lsn > '$summarized_lsn' EOM my @lines = split(/\n/, $details); is(0+@lines, 1, "got exactly one new WAL summary");