Compare commits

...

2 Commits

Author SHA1 Message Date
Vlad Lazar
edebff3e77 untrigger benchmarks 2024-02-27 09:49:39 +00:00
Vlad Lazar
8965eb77e8 test: wait for attachment service readiness 2024-02-26 19:49:46 +00:00

View File

@@ -1104,6 +1104,13 @@ class NeonEnv:
# bounce through retries on startup
self.attachment_service.start()
def attachment_service_ready():
assert self.attachment_service.ready() is True
# Wait for attachment service readiness to prevent unnecessary post start-up
# reconcile.
wait_until(30, 1, attachment_service_ready)
# Start up broker, pageserver and all safekeepers
futs = []
with concurrent.futures.ThreadPoolExecutor(