Multiple safekeepers in test_hot_standby_gc

This commit is contained in:
John Spray
2024-08-22 10:10:21 +00:00
parent 6d8572ded6
commit 12b8d921be

View File

@@ -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