aboutsummaryrefslogtreecommitdiff
path: root/src/test/recovery/t/009_twophase.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/recovery/t/009_twophase.pl')
-rw-r--r--src/test/recovery/t/009_twophase.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/recovery/t/009_twophase.pl b/src/test/recovery/t/009_twophase.pl
index 3e25b8c4ebd..ca17a059114 100644
--- a/src/test/recovery/t/009_twophase.pl
+++ b/src/test/recovery/t/009_twophase.pl
@@ -32,7 +32,9 @@ sub configure_and_reload
# Setup london node
my $node_london = PostgreSQL::Test::Cluster->new("london");
-$node_london->init(allows_streaming => 1);
+# Archiving is used to provide coverage with the creation of .partial segments
+# done at the end of recovery and the recovery of two-phase transactions.
+$node_london->init(allows_streaming => 1, has_archiving => 1);
$node_london->append_conf(
'postgresql.conf', qq(
max_prepared_transactions = 10