Skip to content

Commit e973a42

Browse files
ianlancetaylordmitshur
authored andcommitted
[internal-branch.go1.17-vendor] ipv6: OpenBSD does not appear to support multicast loopback
Skip the tests for it, as we already skip them on FreeBSD. For golang/go#42064 For golang/go#49909 Change-Id: I058f25309020367e686625033b4f25cb614c7f99 Reviewed-on: https://go-review.googlesource.com/c/net/+/366355 Trust: Ian Lance Taylor <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Bryan C. Mills <[email protected]> Reviewed-on: https://go-review.googlesource.com/c/net/+/368534 Trust: Damien Neil <[email protected]> Run-TryBot: Damien Neil <[email protected]>
1 parent 9592dd5 commit e973a42

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

ipv6/helper_unix_test.go

+4
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ func supportsIPv6MulticastDeliveryOnLoopback() (string, bool) {
2020
// kernels don't deliver link-local scoped multicast
2121
// packets correctly.
2222
return fmt.Sprintf("not supported on %s/%s", runtime.GOOS, runtime.GOARCH), false
23+
case "openbsd":
24+
// Multicast packets don't seem to be delivered locally.
25+
// Issue 42064.
26+
return fmt.Sprintf("not supported on %s/%s", runtime.GOOS, runtime.GOARCH), false
2327
default:
2428
return "", true
2529
}

ipv6/multicast_test.go

-5
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@ var packetConnReadWriteMulticastUDPTests = []struct {
2828
}
2929

3030
func TestPacketConnReadWriteMulticastUDP(t *testing.T) {
31-
switch os.Getenv("GO_BUILDER_NAME") {
32-
case "openbsd-amd64-68", "openbsd-386-68", "openbsd-arm-jsing", "openbsd-arm64-jsing", "openbsd-mips64-jsing":
33-
t.Skip(`this test is currently failing on OpenBSD 6.8 builders with "raw-read udp6: i/o timeout" ` +
34-
`and needs investigation, see golang.org/issue/42064`)
35-
}
3631
switch runtime.GOOS {
3732
case "fuchsia", "hurd", "js", "nacl", "plan9", "windows":
3833
t.Skipf("not supported on %s", runtime.GOOS)

0 commit comments

Comments
 (0)