aboutsummaryrefslogtreecommitdiff
path: root/src/test/recovery/t/004_timeline_switch.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/recovery/t/004_timeline_switch.pl')
-rw-r--r--src/test/recovery/t/004_timeline_switch.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/recovery/t/004_timeline_switch.pl b/src/test/recovery/t/004_timeline_switch.pl
index 65270430bf6..7e952d36676 100644
--- a/src/test/recovery/t/004_timeline_switch.pl
+++ b/src/test/recovery/t/004_timeline_switch.pl
@@ -42,7 +42,9 @@ $node_master->teardown_node;
# promote standby 1 using "pg_promote", switching it to a new timeline
my $psql_out = '';
-$node_standby_1->psql('postgres', "SELECT pg_promote(wait_seconds => 300)",
+$node_standby_1->psql(
+ 'postgres',
+ "SELECT pg_promote(wait_seconds => 300)",
stdout => \$psql_out);
is($psql_out, 't', "promotion of standby with pg_promote");