compose/pkg/e2e
Milas Bowman d9065050fd e2e: fix subtests and block parallel unsafe tests
The big mechanical change here is to NOT store `t` as a field on
the `CLI` object (which has been renamed as well to fix the odd
capitalization). The way the tests are structured meant that the
"subtests" were using the _parent_ `*testing.T` instance, which
causes various oddities including confusing messages on failure
about a child test causing a panic in the parent.

Additionally, a few tests have been blocked from running in
parallel because they are sharing `compose.yaml` fixtures and
can fail as a result (e.g. due to a port conflict on the host).
I'll fix these in follow-up PRs but want to focus on correctness
for the tests before optimizing them.

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2022-06-15 16:27:30 -04:00
..
fixtures add support for setting secret from env variable 2022-06-15 17:06:48 +02:00
cancel_test.go e2e: fix subtests and block parallel unsafe tests 2022-06-15 16:27:30 -04:00
cascade_stop_test.go e2e: fix subtests and block parallel unsafe tests 2022-06-15 16:27:30 -04:00
compose_build_test.go e2e: fix subtests and block parallel unsafe tests 2022-06-15 16:27:30 -04:00
compose_down_test.go e2e: fix subtests and block parallel unsafe tests 2022-06-15 16:27:30 -04:00
compose_environment_test.go e2e: fix subtests and block parallel unsafe tests 2022-06-15 16:27:30 -04:00
compose_exec_test.go e2e: fix subtests and block parallel unsafe tests 2022-06-15 16:27:30 -04:00
compose_run_test.go e2e: fix subtests and block parallel unsafe tests 2022-06-15 16:27:30 -04:00
compose_test.go e2e: fix subtests and block parallel unsafe tests 2022-06-15 16:27:30 -04:00
cp_test.go e2e: fix subtests and block parallel unsafe tests 2022-06-15 16:27:30 -04:00
ddev_test.go e2e: fix subtests and block parallel unsafe tests 2022-06-15 16:27:30 -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 e2e: fix subtests and block parallel unsafe tests 2022-06-15 16:27:30 -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: fix subtests and block parallel unsafe tests 2022-06-15 16:27:30 -04:00
main_test.go Use build tags for selecting e2e test mode 2021-12-09 10:52:18 +01:00
metrics_test.go e2e: fix subtests and block parallel unsafe tests 2022-06-15 16:27:30 -04:00
networks_test.go e2e: fix subtests and block parallel unsafe tests 2022-06-15 16:27:30 -04:00
ps_test.go e2e: fix subtests and block parallel unsafe tests 2022-06-15 16:27:30 -04:00
restart_test.go e2e: fix subtests and block parallel unsafe tests 2022-06-15 16:27:30 -04:00
scan_message_test.go e2e: fix subtests and block parallel unsafe tests 2022-06-15 16:27:30 -04:00
secrets_test.go e2e: fix subtests and block parallel unsafe tests 2022-06-15 16:27:30 -04:00
start_fail_test.go e2e: fix subtests and block parallel unsafe tests 2022-06-15 16:27:30 -04:00
start_stop_test.go e2e: fix subtests and block parallel unsafe tests 2022-06-15 16:27:30 -04:00
volumes_test.go e2e: fix subtests and block parallel unsafe tests 2022-06-15 16:27:30 -04:00