lab2done
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
2026-11-13 11:08:23 +03:00
parent 65003b6119
commit 76f0b45143
52 changed files with 1511 additions and 74 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env python3
import time, urllib.request
for attempt in range(90):
try:
with urllib.request.urlopen('http://127.0.0.1:8080/health/ready',timeout=4) as r:
if r.status==200: print('Ready'); break
except (OSError, TimeoutError): pass
time.sleep(1)
else: raise SystemExit('API did not become ready')