Skip to content

Commit f1b04e1

Browse files
committed
fix
1 parent 569c9a7 commit f1b04e1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/actions/setup-devservices/bootstrap-snuba.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,11 @@ def main() -> None:
228228
log(f"Phase 1 done ({time.monotonic() - start:.0f}s)")
229229

230230
wait_for_devservices()
231-
docker("stop", "snuba-snuba-1", timeout=30)
231+
try:
232+
docker("stop", "snuba-snuba-1", timeout=30)
233+
except subprocess.TimeoutExpired:
234+
log("WARNING: docker stop snuba-snuba-1 timed out, killing")
235+
docker("kill", "snuba-snuba-1")
232236

233237
log("Phase 2: starting per-worker Snuba API containers")
234238
rc = run_parallel(

0 commit comments

Comments
 (0)