mirror of
https://github.com/livekit/livekit.git
synced 2026-10-22 15:22:30 +00:00
Let the docker-backed service tests be skipped with a flag. TestMain called log.Fatalf when it could not reach a docker daemon, so the whole package refused to run without one, including every test in it that needs no container at all. Record why docker is unavailable instead, and gate the tests that want a container on it. A run asks to go without them with -docker=false; otherwise a missing daemon still fails the package, so an unreachable daemon stays a broken build rather than a run that quietly covers less than the last one did. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>