![]() 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. |
||
---|---|---|
.. | ||
main_test.go | ||
plugins_test.go |