From 7322ccf3f77daa3fa89b7a44159c7cc636bb674e Mon Sep 17 00:00:00 2001 From: Alexander Bayandin Date: Wed, 3 Jan 2024 17:04:47 +0000 Subject: [PATCH] test_pageserver: move attachment to different section --- test_runner/performance/test_pageserver.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test_runner/performance/test_pageserver.py b/test_runner/performance/test_pageserver.py index 3d91a52b1e..2c75364fd4 100644 --- a/test_runner/performance/test_pageserver.py +++ b/test_runner/performance/test_pageserver.py @@ -58,9 +58,6 @@ def snapshotting_env( # Wait for the attachment service to start time.sleep(5) - for tenant in tenants: - env.attachment_service.attach_hook_issue(tenant, 1) - env.pageserver.start() else: env = neon_env_builder.init_start() @@ -128,6 +125,7 @@ def snapshotting_env( ps_http.tenant_attach( tenant, config=tenant_config_mgmt_api, generation=template_tenant_gen + 1 ) + env.attachment_service.attach_hook_issue(tenant, env.pageserver.id) if save_snapshot and not snapshot_dir.exists(): shutil.copytree(env.repo_dir, snapshot_dir)