compose/pkg/e2e
Milas Bowman ea8341865d e2e: isolate test command env from system env
When running Docker / Compose commands, do NOT inherit the system
environment to ensure that the tests are reproducible regardless
of host settings.

Additionally, per-command environment overrides are provided to
the command instead of using `os.SetEnv`, as this is not safe when
running tests in parallel (`testing.T::SetEnv` will actually error
if used in this way!)

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2022-06-16 08:30:57 -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: isolate test command env from system env 2022-06-16 08:30:57 -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: isolate test command env from system env 2022-06-16 08:30:57 -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: isolate test command env from system env 2022-06-16 08:30:57 -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