net/netcheck: fix tests on Windows

Updates #50
This commit is contained in:
Brad Fitzpatrick
2020-10-28 09:10:35 -07:00
parent fd2a30cd32
commit 7ac91c15bd
2 changed files with 15 additions and 3 deletions

View File

@ -50,7 +50,8 @@ func TestBasic(t *testing.T) {
defer cleanup()
c := &Client{
Logf: t.Logf,
Logf: t.Logf,
UDPBindAddr: "127.0.0.1:0",
}
ctx, cancel := context.WithTimeout(context.Background(), 1*time.Second)