Added support for macOS in TestNewHTTPListener (#4782)

master
Andrej Pregl 7 years ago committed by Harshavardhana
parent 283ad7e5e5
commit fa52d491c5
  1. 2
      pkg/http/listener_test.go

@ -184,6 +184,8 @@ func TestNewHTTPListener(t *testing.T) {
remoteAddrErrMsg := "listen tcp 93.184.216.34:9000: bind: cannot assign requested address"
if runtime.GOOS == "windows" {
remoteAddrErrMsg = "listen tcp 93.184.216.34:9000: bind: The requested address is not valid in its context."
} else if runtime.GOOS == "darwin" {
remoteAddrErrMsg = "listen tcp 93.184.216.34:9000: bind: can't assign requested address"
}
tlsConfig := getTLSConfig(t)

Loading…
Cancel
Save