compose/pkg/e2e
Milas Bowman 3bc871e64b test: speed up the e2e test suite
Lots of our phony Compose files launch pointless long-lived processes
so we can assert on state. However, this means they often don't respond
well to signals on their own, requiring Compose to timeout and kill
them when doing a `down`.

Add in lots of `init: true` where appropriate so that we don't block
for no reason while running E2E tests all over the place.

Additionally, a couple tests have gotten a cleanup so they don't leave
behind containers. I still want to build this into the framework in
the future, but this is easier for the moment and won't cause any
trouble in the future.

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2023-07-18 11:08:06 +02:00
..
fixtures test: speed up the e2e test suite 2023-07-18 11:08:06 +02:00
assert.go up: do not stop dependency containers (#9701) 2022-08-02 15:25:59 -04:00
build_test.go add support of --builder and BUILDX_BUILDER 2023-07-03 10:11:18 +02:00
cancel_test.go fix builkit progressui integration (#10535) 2023-05-08 09:21:41 -04:00
compose_environment_test.go introduce --no-path-resolution to skip relative path to be resolved 2023-05-16 13:02:56 +02:00
compose_exec_test.go test: speed up the e2e test suite 2023-07-18 11:08:06 +02:00
compose_run_test.go Apply no-deps before we select and mutate target service 2023-07-10 14:37:42 +02:00
compose_test.go test: speed up the e2e test suite 2023-07-18 11:08:06 +02:00
compose_up_test.go test: speed up the e2e test suite 2023-07-18 11:08:06 +02:00
cp_test.go align `--format` flag and UX with docker cli 2022-12-14 22:53:43 +01:00
ddev_test.go e2e: always set HOME + USER for cmd env 2022-06-16 09:44:40 -04:00
e2e_config_plugin.go Use build tags for selecting e2e test mode 2021-12-09 10:52:18 +01:00
e2e_config_standalone.go Use build tags for selecting e2e test mode 2021-12-09 10:52:18 +01:00
framework.go ci: merge Go coverage reports before upload (#10666) 2023-06-08 14:58:21 -04:00
ipc_test.go e2e: fix subtests and block parallel unsafe tests 2022-06-15 16:27:30 -04:00
logs_test.go e2e test to cover logs -f managing service being added/scaled 2023-05-26 14:51:23 +02:00
main_test.go Use build tags for selecting e2e test mode 2021-12-09 10:52:18 +01:00
metrics_test.go e2e: ensure all Compose cmds standalone compatible 2022-06-16 15:51:54 -04:00
networks_test.go network: fix random missing network when service has more than one 2023-07-07 09:18:01 +02:00
pause_test.go test: tweak pause test to try and prevent failures in Windows CI 2023-02-27 14:20:20 -05:00
profiles_test.go check only running containers in after down tests of profiles e2e tests 2022-12-06 23:17:14 +01:00
ps_test.go check service names based on project, not running containers 2022-12-21 21:11:44 +01:00
pull_test.go fix regression running pull --ignore-pull-failures 2022-12-19 11:56:03 +01:00
recreate_no_deps_test.go up/start/run: don't wait for disabled service 2022-08-17 12:32:10 -05:00
restart_test.go restart only needed services by checking depends_on relations 2023-03-01 18:22:40 +01:00
secrets_test.go apply uid/gid when creating secret from environment 2022-12-15 15:54:04 +01:00
start_stop_test.go one off container name use configured Separator for naming 2023-03-15 09:47:43 +01:00
up_test.go compute service hash with a default DeployConfig 2023-05-26 14:15:33 +02:00
volumes_test.go Temporarily disable broken E2E tests on Windows 2022-09-20 11:33:31 -04:00
wait_test.go test: fix process leak in wait e2e test 2023-07-10 08:42:09 -04:00
watch_test.go watch: add end-to-end test (#10801) 2023-07-17 10:47:36 -04:00