test_pageserver: fix unexpected message: CopyFail during COPY by turning off safekeepers

This commit is contained in:
Alexander Bayandin
2024-01-03 17:06:21 +00:00
parent 7322ccf3f7
commit e91073df75

View File

@@ -83,6 +83,10 @@ def snapshotting_env(
# stop PS just for good measure
env.pageserver.stop()
# we don't need safekeepers for this test
for sk in env.safekeepers:
sk.stop()
# duplicate the tenant in remote storage
src_timelines_dir: Path = remote_storage.tenant_path(template_tenant) / "timelines"
assert src_timelines_dir.is_dir(), f"{src_timelines_dir} is not a directory"