open-nomad/drivers/docker
Michael Schurter bd4b4b8f66
Data race fixes in tests and a new semgrep rule (#14594)
* test: don't use loop vars in goroutines

fixes a data race in the test

* test: copy objects in statestore before mutating

fixes data race in test

* test: @lgfa29's segmgrep rule for loops/goroutines

Found 2 places where we were improperly using loop variables inside
goroutines.
2022-09-15 10:35:08 -07:00
..
cmd
docklog deps: remove deprecated net/context (#13932) 2022-07-28 14:46:56 -04:00
test-resources/docker cli: update default redis and use nomad service discovery 2022-05-17 10:24:19 -05:00
util client: enable support for cgroups v2 2022-03-23 11:35:27 -05:00
config.go docker: create a docker task config setting for disable built-in healthcheck 2022-08-11 10:33:48 -05:00
config_test.go docker: create a docker task config setting for disable built-in healthcheck 2022-08-11 10:33:48 -05:00
coordinator.go
coordinator_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
driver.go docker: create a docker task config setting for disable built-in healthcheck 2022-08-11 10:33:48 -05:00
driver_darwin.go client: enable support for cgroups v2 2022-03-23 11:35:27 -05:00
driver_darwin_test.go testing: setting env var incompatible with parallel tests (#14405) 2022-08-30 14:49:03 -04:00
driver_default.go client: enable support for cgroups v2 2022-03-23 11:35:27 -05:00
driver_linux.go client: enable support for cgroups v2 2022-03-23 11:35:27 -05:00
driver_linux_test.go testing: setting env var incompatible with parallel tests (#14405) 2022-08-30 14:49:03 -04:00
driver_test.go Data race fixes in tests and a new semgrep rule (#14594) 2022-09-15 10:35:08 -07:00
driver_unix_test.go tests: minor fixes for some docker tests 2022-05-25 08:48:24 -05:00
driver_windows.go build: run gofmt on all go source files 2022-08-16 11:14:11 -05:00
driver_windows_test.go docker: update images to reference hashicorpdev Docker organization (#12903) 2022-06-08 15:06:00 -04:00
fingerprint.go cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) 2022-08-17 18:26:34 +02:00
fingerprint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
handle.go deps: remove deprecated net/context (#13932) 2022-07-28 14:46:56 -04:00
network.go driver/docker: Don't pull InfraImage if it exists (#13265) 2022-07-07 17:44:06 +02:00
network_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
ports.go
ports_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
progress.go
progress_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
reconcile_cpuset.go chore: remove use of "err" a log line context key for errors. (#14433) 2022-09-01 15:06:10 +02:00
reconcile_cpuset_noop.go client: enable support for cgroups v2 2022-03-23 11:35:27 -05:00
reconcile_cpuset_test.go client: enable support for cgroups v2 2022-03-23 11:35:27 -05:00
reconcile_dangling.go client: enable support for cgroups v2 2022-03-23 11:35:27 -05:00
reconcile_dangling_test.go client: enable support for cgroups v2 2022-03-23 11:35:27 -05:00
state.go
stats.go
stats_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
utils.go
utils_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
utils_unix_test.go client: enable support for cgroups v2 2022-03-23 11:35:27 -05:00
utils_windows_test.go client: enable support for cgroups v2 2022-03-23 11:35:27 -05:00
win32_volume_parse.go cleanup: purge github.com/pkg/errors 2022-04-01 19:24:02 -05:00