• Tim Gross's avatar
    fix data race in dynamic plugin registry tests (#12554) · d2aab5d5
    Tim Gross authored
    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.
    d2aab5d5