kubernetes/test/integration/scheduler/plugins
Patrick Ohly 9e9a6cde4b test/integration/scheduler: fix data races
The plugins get called by scheduler goroutines. At least the polling seems to
be done concurrently and thus needs locking.

Locking the PreBindPlugin state is less obvious. It might be that the scheduler
is really done with the test pod, but that ordering doesn't seem to be enough
for the race detector. It's simpler to add mutex locking.
2023-05-17 17:10:09 +02:00
..
main_test.go
plugins_test.go test/integration/scheduler: fix data races 2023-05-17 17:10:09 +02:00