mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 05:45:46 +00:00
a5fe2125e9
The watch is established in a background goroutine and the first assertion proves that the watcher is active so there is no reason for the update to happen in a racy goroutine. Note that this does not completely remove the race condition as the first call to testGetConfigValTimeout could time out before a config is returned.