]> Cypherpunks repositories - gostls13.git/commit
net: don't check "invalid.invalid" lookup errors in TestLookupHostCancel
authorBryan C. Mills <bcmills@google.com>
Fri, 3 Dec 2021 16:44:00 +0000 (11:44 -0500)
committerBryan Mills <bcmills@google.com>
Mon, 13 Dec 2021 15:48:26 +0000 (15:48 +0000)
commitf4ca598c9f08a4d00942a1c6a6b8cc7d8f162b66
tree487795f1f63a635c5529f3dbed579054bb7279f1
parent6f42be78bbc107beef8b6eb61a794355e07120ca
net: don't check "invalid.invalid" lookup errors in TestLookupHostCancel

The exact error isn't actually relevant to the test,
and may depend on whether the Go or cgo resolver is used.

Also run the test in parallel, because it spends most of its time
sleeping in between lookups.

Fixes #38767
Fixes #43140

Change-Id: I2d64ffddf2eb114a69ed3242daa9a9e4a5679f67
Reviewed-on: https://go-review.googlesource.com/c/go/+/369037
Trust: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/net/lookup_test.go