mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
net: demote TestDialerDualStack to a flaky test
Only run TestDialerDualStack on the builders, as to not annoy or otherwise distract users when it's not their fault. Even though the intention is to only run this on the builders, very few of the builders have IPv6 support. Oh well. We'll get some coverage. Updates #13324 Change-Id: I13e7e3bca77ac990d290cabec88984cc3d24fb67 Reviewed-on: https://go-review.googlesource.com/24985 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Mikio Hara <mikioh.mikioh@gmail.com>
This commit is contained in:
parent
510fb6397d
commit
a6dbfc12c6
1 changed files with 5 additions and 0 deletions
|
|
@ -695,6 +695,11 @@ func TestDialerLocalAddr(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestDialerDualStack(t *testing.T) {
|
||||
// This test is known to be flaky. Don't frighten regular
|
||||
// users about it; only fail on the build dashboard.
|
||||
if testenv.Builder() == "" {
|
||||
testenv.SkipFlaky(t, 13324)
|
||||
}
|
||||
if !supportsIPv4 || !supportsIPv6 {
|
||||
t.Skip("both IPv4 and IPv6 are required")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue