open-nomad/client/allocrunner/taskrunner
Tim Gross cc9b480996
testing: setting env var incompatible with parallel tests (#14405)
Neither the `os.Setenv` nor `t.Setenv` helper are safe to use in parallel tests
because environment variables are process-global. The stdlib panics if you try
to do this. Remove the `ci.Parallel()` call from all tests where we're setting
environment variables.
2022-08-30 14:49:03 -04:00
..
getter cleanup: move fs helpers into escapingfs 2022-08-24 14:45:34 -05:00
interfaces template: trigger change_mode for dynamic secrets on restore (#9636) 2020-12-16 13:36:19 -05:00
restarts build: run gofmt on all go source files 2022-08-16 11:14:11 -05:00
state Task lifecycle restart (#14127) 2022-08-24 17:43:07 -04:00
template testing: setting env var incompatible with parallel tests (#14405) 2022-08-30 14:49:03 -04:00
testdata executor/linux: make chroot binary paths absolute 2019-04-01 15:45:31 -07:00
artifact_hook.go artifact: fix numerous go-getter security issues 2022-05-24 16:29:39 -04:00
artifact_hook_test.go artifact: fix numerous go-getter security issues 2022-05-24 16:29:39 -04:00
connect_native_hook.go cleanup: purge github.com/pkg/errors 2022-04-01 19:24:02 -05:00
connect_native_hook_test.go cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) 2022-08-17 18:26:34 +02:00
device_hook.go Store device envs separately and pass to drivers 2018-12-19 14:23:09 -08:00
device_hook_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
dispatch_hook.go client/state: support upgrading from 0.8->0.9 2018-12-19 10:39:27 -08:00
dispatch_hook_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
driver_handle.go client: enforce max_kill_timeout client configuration 2022-07-06 15:29:38 -05:00
envoy_bootstrap_hook.go build: run gofmt on all go source files 2022-08-16 11:14:11 -05:00
envoy_bootstrap_hook_test.go cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) 2022-08-17 18:26:34 +02:00
envoy_version_hook.go build: run gofmt on all go source files 2022-08-16 11:14:11 -05:00
envoy_version_hook_test.go cleanup: purge github.com/pkg/errors 2022-04-01 19:24:02 -05:00
errors.go client: artifact errors are retry-able 2019-02-20 07:21:27 -08:00
errors_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
identity_hook.go workload identity (#13223) 2022-07-11 13:34:05 -04:00
lazy_handle.go executor: implement streaming stats API 2019-01-12 12:18:22 -05:00
lifecycle.go Task lifecycle restart (#14127) 2022-08-24 17:43:07 -04:00
logmon_hook.go address review comments 2019-12-13 11:21:00 -05:00
logmon_hook_test.go test: use T.TempDir to create temporary test directory (#12853) 2022-05-12 11:42:40 -04:00
logmon_hook_unix_test.go test: use T.TempDir to create temporary test directory (#12853) 2022-05-12 11:42:40 -04:00
plugin_supervisor_hook.go build: run gofmt on all go source files 2022-08-16 11:14:11 -05:00
remotetask_hook.go build: run gofmt on all go source files 2022-08-16 11:14:11 -05:00
script_check_hook.go client: refactor common service registration objects from Consul. 2022-03-15 09:38:30 +01:00
script_check_hook_test.go Merge branch 'main' into f-1.3-boogie-nights 2022-03-23 09:41:25 +01:00
service_hook.go client: account for service provider namespace updates in hooks. (#12479) 2022-04-06 19:26:22 +02:00
service_hook_test.go test: move remaining tests to use ci.Parallel. 2022-03-24 08:45:13 +01:00
sids_hook.go cleanup: purge github.com/pkg/errors 2022-04-01 19:24:02 -05:00
sids_hook_test.go Task lifecycle restart (#14127) 2022-08-24 17:43:07 -04:00
stats_hook.go tests: deflake TestTaskRunner_StatsHook_Periodic (#9734) 2021-01-06 16:03:00 -05:00
stats_hook_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
task_dir_hook.go update template and artifact interpolation to use client-relative paths 2021-01-04 22:25:34 +00:00
task_runner.go Task lifecycle restart (#14127) 2022-08-24 17:43:07 -04:00
task_runner_getters.go workload identity (#13223) 2022-07-11 13:34:05 -04:00
task_runner_hooks.go workload identity (#13223) 2022-07-11 13:34:05 -04:00
task_runner_test.go Task lifecycle restart (#14127) 2022-08-24 17:43:07 -04:00
tasklet.go comments: cleanup some leftover debug comments and such 2020-01-31 19:04:35 -06:00
tasklet_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
template_hook.go template: custom change_mode scripts (#13972) 2022-08-24 17:43:01 +02:00
validate_hook.go improve error message on service length (#12012) 2022-02-04 19:39:34 -05:00
validate_hook_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
vault_hook.go Merge pull request #11402 from hashicorp/document-client-initial-vault-renew 2022-01-13 16:21:58 +01:00
vault_hook_test.go client: support graceful shutdowns 2018-11-19 16:39:30 -08:00
volume_hook.go volumes: return better error messages for unsupported task drivers (#8030) 2020-05-21 09:18:02 -04:00
volume_hook_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00