From 12b8d921be032b6d6d88377107aba6d833be933b Mon Sep 17 00:00:00 2001 From: John Spray Date: Thu, 22 Aug 2024 10:10:21 +0000 Subject: [PATCH] Multiple safekeepers in test_hot_standby_gc --- test_runner/regress/test_hot_standby.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test_runner/regress/test_hot_standby.py b/test_runner/regress/test_hot_standby.py index ae63136abb..1ac3672a32 100644 --- a/test_runner/regress/test_hot_standby.py +++ b/test_runner/regress/test_hot_standby.py @@ -131,6 +131,11 @@ def test_hot_standby_gc(neon_env_builder: NeonEnvBuilder, pause_apply: bool): # set PITR interval to be small, so we can do GC "pitr_interval": "0 s", } + + # Make sure that standby_horizon feedback still works when the standby and + # the pageserver might be connected to different safekeepers + neon_env_builder.num_safekeepers = 3 + env = neon_env_builder.init_start(initial_tenant_conf=tenant_conf) timeline_id = env.initial_timeline tenant_id = env.initial_tenant