Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
phoebusm committed Jun 10, 2024
1 parent 2eb229e commit f1b274f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/arcticdb/storage_fixtures/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def wait_for_server_to_come_up(url: str, service: str, process: ProcessUnion, *,
alive = (lambda: process.poll() is None) if isinstance(process, subprocess.Popen) else process.is_alive
while True:
assert time.time() < deadline, f"Timed out waiting for {service} process to start"
if alive in locals():
if "alive" in locals():
assert alive(), service + " process died shortly after start up"
time.sleep(sleep)
try:
Expand Down

0 comments on commit f1b274f

Please sign in to comment.