open-nomad/client/dynamicplugins
Tim Gross 82b65899a1
fix data race in dynamic plugin registry tests (#12554)
These tests have a data race where the test assertion is reading a
value that's being set in the `listenFunc` goroutines that are
subscribing to registry update events. Move the assertion into the
subscribing goroutine to remove the race. This bug was discovered
in #12098 but does not impact production Nomad code.
2022-04-14 14:55:56 -04:00
..
registry.go
registry_test.go fix data race in dynamic plugin registry tests (#12554) 2022-04-14 14:55:56 -04:00