compose/pkg/e2e/fixtures
Milas Bowman 36bf0c458b chore(e2e): fix flaky cascade failure test
This was racy with the sleep, so the Compose file has been
tweaked to make it pass reliably.

Now, there's 3 services:
 * `running` - sleeps forever
 * `exit` - exits _successfully_ immediately
   * depends on `running` started
 * `fail` - exits _with error_ immediately
   * depends on `exit` succeeding

Now, the test can ensure that the containers are all run/
started in the expected order the assertions will be reliable.

Before, it was possible for `fail` to run & exit before `exit`,
for example. The `running` service also ensures there's always
at least one other "running" container when we do an abort.

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2024-04-24 11:03:27 +02:00
..
attach-restart Move compose e2e tests into pkg 2021-06-28 08:47:58 +02:00
build-dependencies test: speed up the e2e test suite 2023-07-18 11:08:06 +02:00
build-infinite Move compose e2e tests into pkg 2021-06-28 08:47:58 +02:00
build-test Introduce support for build.entitlements 2024-04-10 12:27:49 +02:00
cascade chore(e2e): fix flaky cascade failure test 2024-04-24 11:03:27 +02:00
compose-pull fix regression running pull --ignore-pull-failures 2022-12-19 11:56:03 +01:00
config fix `compose config --format json` 2024-03-18 08:09:54 +01:00
configs Fix configs are mounted under /<id> 2023-11-29 16:53:22 +01:00
container_name check container_name is not in use by another service we will create 2024-04-16 17:26:50 +02:00
cp-test Move compose e2e tests into pkg 2021-06-28 08:47:58 +02:00
dependencies add support of depends_on.required attribute 2023-07-18 23:13:47 +02:00
dotenv Fix load .env from project directory when project file is set by COMPOSE_FILE 2024-01-25 09:26:22 +01:00
env-secret apply uid/gid when creating secret from environment 2022-12-15 15:54:04 +01:00
environment Fix environment variables priority between environment and .env 2022-07-28 12:57:44 +02:00
init-container Move compose e2e tests into pkg 2021-06-28 08:47:58 +02:00
ipam test: speed up the e2e test suite 2023-07-18 11:08:06 +02:00
ipc-test Move compose e2e tests into pkg 2021-06-28 08:47:58 +02:00
links e2e: reproduce bug with links 2022-05-31 16:32:29 -05:00
logs-test fix deadlock collecting large logs 2024-02-13 20:15:19 +01:00
network-alias Move compose e2e tests into pkg 2021-06-28 08:47:58 +02:00
network-links Add links to container create request. 2022-06-02 02:51:25 +02:00
network-test test: speed up the e2e test suite 2023-07-18 11:08:06 +02:00
no-deps resolve service reference into container based on observed state 2023-09-14 15:29:50 +02:00
pause test: tweak pause test to try and prevent failures in Windows CI 2023-02-27 14:20:20 -05:00
port-range ContainerStart must run sequentially for engine to assing distinct ports within configured range 2022-12-12 16:08:50 +01:00
profiles add file header and cleanup profiles e2e tests 2022-11-30 13:21:16 +01:00
project-volume-bind-test use '-' as separator by default for image name 2022-07-29 18:55:22 +02:00
ps-test e2e: add test for ps 2022-06-08 14:05:20 -05:00
resources e2e test for --all-resources 2024-04-09 15:30:42 +02:00
restart-test Enable service explicitly requested to be restarted 2023-09-01 12:01:02 +02:00
run-test use an dedicated compose file --quiet-pull e2e test 2024-02-21 18:59:09 +01:00
scale sort containers to optimize scale down 2024-02-15 17:47:42 +01:00
sentences test: speed up the e2e test suite 2023-07-18 11:08:06 +02:00
simple-build-test convert: do not escape $ into $$ when using the --no-interpolate option (#9703) 2022-09-08 16:25:23 -04:00
simple-composefile Move compose e2e tests into pkg 2021-06-28 08:47:58 +02:00
start-fail test: speed up the e2e test suite 2023-07-18 11:08:06 +02:00
start-stop Add E2E tests for starting/stopping single services 2022-08-30 12:55:51 +02:00
stdout-stderr test: speed up the e2e test suite 2023-07-18 11:08:06 +02:00
ups-deps-stop up: do not stop dependency containers (#9701) 2022-08-02 15:25:59 -04:00
volume-test Move compose e2e tests into pkg 2021-06-28 08:47:58 +02:00
wait Add `docker compose wait` 2023-06-30 16:07:03 +02:00
watch Squashing feature branch commits in order to add signoff message. 2023-10-29 22:08:00 +01:00
wrong-composefile Move compose e2e tests into pkg 2021-06-28 08:47:58 +02:00