summaryrefslogtreecommitdiff
path: root/src/test/recovery/t/008_fsm_truncation.pl
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2017-05-01 12:11:25 -0400
committerPeter Eisentraut <peter_e@gmx.net>2017-07-05 13:37:08 -0400
commit6deb52b202e0f673b583b03ad141ccad6f8e7fba (patch)
tree67eb1311b9cf67ecd97234309f62fa81263312b4 /src/test/recovery/t/008_fsm_truncation.pl
parent1bac5f552a25aca3aa2ef1d404f7cdf7788c34d8 (diff)
downloadpostgresql-6deb52b202e0f673b583b03ad141ccad6f8e7fba.tar.gz
Remove unnecessary pg_is_in_recovery calls in tests
Since pg_ctl promote already waits for recovery to end, these calls are obsolete.
Diffstat (limited to 'src/test/recovery/t/008_fsm_truncation.pl')
-rw-r--r--src/test/recovery/t/008_fsm_truncation.pl2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/test/recovery/t/008_fsm_truncation.pl b/src/test/recovery/t/008_fsm_truncation.pl
index 56eecf722c..ddab464a97 100644
--- a/src/test/recovery/t/008_fsm_truncation.pl
+++ b/src/test/recovery/t/008_fsm_truncation.pl
@@ -83,8 +83,6 @@ $node_standby->poll_query_until('postgres', $caughtup_query)
# Promote the standby
$node_standby->promote;
-$node_standby->poll_query_until('postgres', "SELECT NOT pg_is_in_recovery()")
- or die "Timed out while waiting for promotion of standby";
$node_standby->psql('postgres', 'checkpoint');
# Restart to discard in-memory copy of FSM