open-nomad/client/allocrunner/tasklifecycle
Luiz Aoqui 25a63195da
test: remove flaky Gate test (#14575)
The concurrent gate access test is flaky since it depends on the order
of operations of two concurrent goroutines. Despite the heavy bias
towards one of the results, it's still possible to end the execution
with a closed gate.

I believe this case was created to test an earlier implementation where
the gate state was stored and mutated internally, so the access had to
be protected by a lock. However, the final implementation changed this
approach to be only channel-based, so there is no need for this flaky
test anymore.
2022-09-19 11:31:03 -04:00
..
coordinator.go Task lifecycle restart (#14127) 2022-08-24 17:43:07 -04:00
coordinator_test.go Task lifecycle restart (#14127) 2022-08-24 17:43:07 -04:00
doc.go ci: fix gofmt on tasklifecycle (#14232) 2022-08-23 15:47:15 -04:00
gate.go allocrunner: refactor task coordinator (#14009) 2022-08-22 18:38:49 -04:00
gate_test.go test: remove flaky Gate test (#14575) 2022-09-19 11:31:03 -04:00
testing.go allocrunner: refactor task coordinator (#14009) 2022-08-22 18:38:49 -04:00