mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-03 19:42:55 +00:00
Update Zenith CLI config between runs
This commit is contained in:
committed by
Kirill Bulatov
parent
f49990ed43
commit
4d0f7fd1e4
@@ -30,18 +30,16 @@ def test_bulk_tenant_create(
|
||||
for i in range(tenants_count):
|
||||
start = timeit.default_timer()
|
||||
|
||||
(tenant, tenant_initial_timeline_id) = env.zenith_cli.create_tenant()
|
||||
new_timeline_id = env.zenith_cli.branch_timeline(
|
||||
tenant_id=tenant, ancestor_timeline_id=tenant_initial_timeline_id)
|
||||
tenant = env.zenith_cli.create_tenant()
|
||||
env.zenith_cli.create_branch(
|
||||
f'test_bulk_tenant_create_{tenants_count}_{i}_{use_wal_acceptors}', tenant_id=tenant)
|
||||
|
||||
# FIXME: We used to start new safekeepers here. Did that make sense? Should we do it now?
|
||||
#if use_wal_acceptors == 'with_wa':
|
||||
# wa_factory.start_n_new(3)
|
||||
|
||||
pg_tenant = env.postgres.create_start(
|
||||
f"test_bulk_tenant_create_{tenants_count}_{i}_{use_wal_acceptors}",
|
||||
tenant,
|
||||
timeline_id=new_timeline_id)
|
||||
f'test_bulk_tenant_create_{tenants_count}_{i}_{use_wal_acceptors}', tenant)
|
||||
|
||||
end = timeit.default_timer()
|
||||
time_slices.append(end - start)
|
||||
|
||||
Reference in New Issue
Block a user