From 880663f6bc308fbbb0ae61b8aa03ed664448736c Mon Sep 17 00:00:00 2001 From: John Spray Date: Thu, 7 Dec 2023 14:52:16 +0000 Subject: [PATCH] tests: use tenant_create() helper in test_bulk_insert (#6064) ## Problem Since #5449 we enable generations in tests by default. Running benchmarks was missed while merging that PR, and there was one that needed updating. ## Summary of changes Make test_bulk_insert use the proper generation-aware helper for tenant creation. --- test_runner/performance/test_bulk_insert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_runner/performance/test_bulk_insert.py b/test_runner/performance/test_bulk_insert.py index 46acec0f63..a146e011cc 100644 --- a/test_runner/performance/test_bulk_insert.py +++ b/test_runner/performance/test_bulk_insert.py @@ -57,7 +57,7 @@ def measure_recovery_time(env: NeonCompare): # when we "create" the Tenant again, we will replay the WAL from the beginning. client.tenant_delete(env.tenant) wait_tenant_status_404(client, env.tenant, iterations=60, interval=0.5) - client.tenant_create(new_tenant_id=env.tenant) + env.env.pageserver.tenant_create(tenant_id=env.tenant) # Measure recovery time with env.record_duration("wal_recovery"):