mirror of
https://github.com/docker/compose.git
synced 2026-10-12 02:13:08 +00:00
- TestExposeRange keeps its regression link (#13378), the invariant being simply that up accepts a port range in expose. - TestUpContainerNameConflict interpolates a project-scoped container_name instead of the fixture's global 'test', so parallel runs cannot collide on it. - TestIPC demonstrates the CLI() escape hatch: the external container the 'container:' mode points at is created eagerly before the steps, so its id is available to the declarative checks. (Runs only in CI: ipc container: mode is rejected by Docker Desktop and dind daemons — 'restricted host mount' — for the legacy test as well.) - wait scenarios observe which services exited instead of trusting the command's silence; TestWaitOnInfinity stays legacy, the DSL has no notion of a still-running command. The wait fixture stays for it; ipc-test and container_name fixtures are removed. Signed-off-by: Nicolas De Loof <[email protected]>
11 lines
185 B
YAML
11 lines
185 B
YAML
services:
|
|
test:
|
|
image: alpine
|
|
container_name: ${FIXED_NAME}
|
|
command: /bin/true
|
|
|
|
another_test:
|
|
image: alpine
|
|
container_name: ${FIXED_NAME}
|
|
command: /bin/true
|