mirror of https://github.com/docker/compose.git
d9065050fd
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> |
||
---|---|---|
.. | ||
fixtures | ||
cancel_test.go | ||
cascade_stop_test.go | ||
compose_build_test.go | ||
compose_down_test.go | ||
compose_environment_test.go | ||
compose_exec_test.go | ||
compose_run_test.go | ||
compose_test.go | ||
cp_test.go | ||
ddev_test.go | ||
e2e_config_plugin.go | ||
e2e_config_standalone.go | ||
framework.go | ||
ipc_test.go | ||
logs_test.go | ||
main_test.go | ||
metrics_test.go | ||
networks_test.go | ||
ps_test.go | ||
restart_test.go | ||
scan_message_test.go | ||
secrets_test.go | ||
start_fail_test.go | ||
start_stop_test.go | ||
volumes_test.go |