]> Cypherpunks repositories - gostls13.git/commit
net: ignore blackhole route in TestDialCancel
authorMeng Zhuo <mzh@golangcn.org>
Thu, 27 Jul 2023 08:20:58 +0000 (16:20 +0800)
committerGopher Robot <gobot@golang.org>
Mon, 31 Jul 2023 15:43:06 +0000 (15:43 +0000)
commitc17e0cd2da0d69aba28d23aab12186eedc579dc1
treee88741eb4dcc12060510535b95c32d00b35229cd
parent20ea98842159d7cde30062711527495ac00bcacd
net: ignore blackhole route in TestDialCancel

CL 496037 had ignored 3 types of null route, however blackhole route
is not included i.e. on Linux we can add a blackhole route by
`ip route add blackhole 198.18.0.254/32`

Fixes #61590

Change-Id: I9ddb86c5be0e5e261afa96cbaf55d9fdf30b2795
Reviewed-on: https://go-review.googlesource.com/c/go/+/513595
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: M Zhuo <mzh@golangcn.org>
src/net/dial_test.go