mirror of
https://github.com/docker/compose.git
synced 2026-11-18 22:27:03 +00:00
The legacy test read as 'up removes leftover one-offs', but plain up
only warns about them: the removal it asserted came from the fixture's
.env declaring COMPOSE_REMOVE_ORPHANS=true (added by 'restore
setEnvWithDotEnv', d3d378b92) — an invariant the fixture kept invisible.
The scenario declares both files inline as a txtar archive, so the
mechanism under test is in plain sight, and observes the one-off's
removal from container state rather than ps output.
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2 lines
29 B
Bash
2 lines
29 B
Bash
COMPOSE_REMOVE_ORPHANS=true
|
|
|