mirror of
https://github.com/kemko/nomad.git
synced 2026-01-02 00:15:43 +03:00
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.