mirror of
https://github.com/docker/compose.git
synced 2026-09-21 21:14:26 +00:00
Migrate the state-friendly start/stop tests to the Scenario DSL: - TestStartStop: stop halts containers in place, start brings the same ones back (NotRecreated); the ls checks match the project name exactly in the JSON output, immune to the prefix collisions the other start-stop project names would cause under parallel runs. - TestStartStopWithDependencies: dependency start/stop propagation read from container state instead of 'Container X Started' messages. - TestUpNoDeps replaces the 'Up no-deps links' subtest as its own scenario: up --no-deps must not create the linked dependency. - TestStartSingleServiceAndDependency: create/start walk the dependency chain and nothing else — now asserting the unrelated services have no container at all, stronger than the legacy message matching. The one-off and multi-file tests stay legacy: the vocabulary has no one-off awareness yet and a scenario holds a single compose file. The links and start-stop-deps fixtures become unused and are removed. Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com> |
||
|---|---|---|
| .. | ||
| attach-restart | ||
| bridge | ||
| bridge-build-only | ||
| build-dependencies | ||
| build-infinite | ||
| build-test | ||
| cascade | ||
| commit | ||
| compose-pull | ||
| config | ||
| config_hash | ||
| configs | ||
| container_name | ||
| cp-test | ||
| dependencies | ||
| dotenv | ||
| env-secret | ||
| env_file | ||
| environment | ||
| exec | ||
| export | ||
| external | ||
| hooks | ||
| image-identity | ||
| image-volume-recreate | ||
| images-removed | ||
| init-container | ||
| ipam | ||
| ipc-test | ||
| logging-driver | ||
| logs-test | ||
| model | ||
| nested | ||
| network-alias | ||
| network-interface-name | ||
| network-links | ||
| network-recreate | ||
| network-test | ||
| orphans | ||
| port-range | ||
| pre_start | ||
| profiles | ||
| project-volume-bind-test | ||
| providers | ||
| ps-test | ||
| publish | ||
| recreate-volumes | ||
| resources | ||
| restart-test | ||
| run-test | ||
| scale | ||
| sentences | ||
| simple-build-test | ||
| simple-composefile | ||
| start-fail | ||
| start-stop | ||
| start_interval | ||
| stdout-stderr | ||
| stop | ||
| switch-volumes | ||
| ups-deps-stop | ||
| volume-test | ||
| volumes | ||
| wait | ||
| watch | ||
| wrong-composefile | ||