aboutsummaryrefslogtreecommitdiff
path: root/src/test/subscription/t/001_rep_changes.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/subscription/t/001_rep_changes.pl')
-rw-r--r--src/test/subscription/t/001_rep_changes.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/subscription/t/001_rep_changes.pl b/src/test/subscription/t/001_rep_changes.pl
index 503556fd6cd..d94458e00e1 100644
--- a/src/test/subscription/t/001_rep_changes.pl
+++ b/src/test/subscription/t/001_rep_changes.pl
@@ -188,6 +188,11 @@ $node_publisher->safe_psql('postgres',
"INSERT INTO tab_ins SELECT generate_series(1001,1100)");
$node_publisher->safe_psql('postgres', "DELETE FROM tab_rep");
+# Restart the publisher and check the state of the subscriber which
+# should be in a streaming state after catching up.
+$node_publisher->stop('fast');
+$node_publisher->start;
+
$node_publisher->wait_for_catchup($appname);
$result = $node_subscriber->safe_psql('postgres',