mirror of
https://github.com/docker/compose.git
synced 2026-10-12 02:13:08 +00:00
Unit tests alone didn't cover the exact failure: an attached up hanging when the project is stopped/removed externally while a service sits in restart backoff. The new test reproduces that sequence end to end, so a future regression on this path breaks loudly instead of slipping through as a passing unit suite. A RestartCount guard narrows the race with the backoff expiring, so a missed window fails loudly instead of passing silently through the pre-existing die-based path. Signed-off-by: Guillaume Lours <[email protected]>