Remove NeonEnvBuilder.start() function

It feels wrong to me to start() from the builder object. Surely the
thing you start is the environment itself, not its configuration.
This commit is contained in:
Heikki Linnakangas
2024-09-11 15:01:34 +03:00
committed by Heikki Linnakangas
parent 0a363c3dce
commit 8dc069037b
4 changed files with 7 additions and 11 deletions

View File

@@ -84,7 +84,7 @@ def test_storage_controller_many_tenants(
compute_reconfigure_listener.register_on_notify(lambda body: time.sleep(0.01))
env = neon_env_builder.init_configs()
neon_env_builder.start()
env.start()
# We will intentionally stress reconciler concurrrency, which triggers a warning when lots
# of shards are hitting the delayed path.