Skip to content

Commit

Permalink
Fix DNSResolver Fails on OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
inancgumus authored and mstoykov committed Aug 23, 2021
1 parent 515e56a commit 4db4c00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/local/local_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ func TestDNSResolver(t *testing.T) {
}

expErr := sr(`dial tcp 127.0.0.254:HTTPBIN_PORT: connect: connection refused`)
if runtime.GOOS == "windows" {
if runtime.GOOS == "windows" || runtime.GOOS == "darwin" {
expErr = "request timeout"
}
for name, tc := range testCases {
Expand Down

0 comments on commit 4db4c00

Please sign in to comment.