net/dns/resolver: skip test on macOS

Fixes #2229

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
pull/2223/head
Brad Fitzpatrick 3 years ago
parent ece138ffc3
commit 733d52827b

@ -10,6 +10,7 @@ import (
"errors"
"math/rand"
"net"
"runtime"
"testing"
dns "golang.org/x/net/dns/dnsmessage"
@ -427,6 +428,9 @@ func TestDelegate(t *testing.T) {
for _, tt := range tests {
t.Run(tt.title, func(t *testing.T) {
if tt.title == "hugetxt" && runtime.GOOS == "darwin" {
t.Skip("known to not work on macOS: https://github.com/tailscale/tailscale/issues/2229")
}
payload, err := syncRespond(r, tt.query)
if err != nil {
t.Errorf("err = %v; want nil", err)

Loading…
Cancel
Save