mirror of
https://github.com/neondatabase/neon.git
synced 2026-06-05 06:20:37 +00:00
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.
This commit is contained in:
@@ -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"):
|
||||
|
||||
Reference in New Issue
Block a user