85dd506ecb
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. |
||
---|---|---|
.. | ||
config.go | ||
config_test.go | ||
conn.go | ||
conn_test.go | ||
listener.go | ||
listener_test.go | ||
proxy.go | ||
proxy_test.go | ||
testing.go |