aboutsummaryrefslogtreecommitdiff
path: root/src/test/recovery/t/001_stream_rep.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/recovery/t/001_stream_rep.pl')
-rw-r--r--src/test/recovery/t/001_stream_rep.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/recovery/t/001_stream_rep.pl b/src/test/recovery/t/001_stream_rep.pl
index fd71095f06a..981c00ba3ec 100644
--- a/src/test/recovery/t/001_stream_rep.pl
+++ b/src/test/recovery/t/001_stream_rep.pl
@@ -24,6 +24,11 @@ $node_standby_1->start;
# pg_basebackup works on a standby).
$node_standby_1->backup($backup_name);
+# Take a second backup of the standby while the master is offline.
+$node_master->stop;
+$node_standby_1->backup('my_backup_2');
+$node_master->start;
+
# Create second standby node linking to standby 1
my $node_standby_2 = get_new_node('standby_2');
$node_standby_2->init_from_backup($node_standby_1, $backup_name,