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. |
||
---|---|---|
.. | ||
certgen | ||
proxy | ||
example_test.go | ||
resolver.go | ||
resolver_test.go | ||
service.go | ||
service_test.go | ||
testing.go | ||
tls.go | ||
tls_test.go |