Skip to content

Commit

Permalink
fix: dns test default timeout too short
Browse files Browse the repository at this point in the history
  • Loading branch information
vcptr committed Nov 27, 2019
1 parent 47660bf commit 60603ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions proxy/dns/dns_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ func TestUDPDNSTunnel(t *testing.T) {
m1.Question[0] = dns.Question{"ipv4only.google.com.", dns.TypeAAAA, dns.ClassINET}

c := new(dns.Client)
c.Timeout = 10 * time.Second
in, _, err := c.Exchange(m1, "127.0.0.1:"+strconv.Itoa(int(serverPort)))
common.Must(err)

Expand Down

0 comments on commit 60603ab

Please sign in to comment.