You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.
$ go test -tags netgo github.com/weaveworks/weave/nameserver
ok github.com/weaveworks/weave/nameserver 9.072s
Adding some debug logging and running the tests with -v reveals that most of that time is spent in shutting down dns servers. That turns out due to the way Shutdown is implemented in the DNS library we are using. The server sits in a loop that reads with a timeout and checks whether it should shut down every time the read returns. The default timeout is 2 seconds. This can be changed by setting Server.ReadTimeout.
The text was updated successfully, but these errors were encountered:
Adding some debug logging and running the tests with
-v
reveals that most of that time is spent in shutting down dns servers. That turns out due to the wayShutdown
is implemented in the DNS library we are using. The server sits in a loop that reads with a timeout and checks whether it should shut down every time the read returns. The default timeout is 2 seconds. This can be changed by settingServer.ReadTimeout
.The text was updated successfully, but these errors were encountered: