From fa52d491c5afb7be6d71bf405a7c8b3965db5e0b Mon Sep 17 00:00:00 2001 From: Andrej Pregl Date: Tue, 8 Aug 2017 01:02:34 +0200 Subject: [PATCH] Added support for macOS in TestNewHTTPListener (#4782) --- pkg/http/listener_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/http/listener_test.go b/pkg/http/listener_test.go index 08aa10460..c566ccdbf 100644 --- a/pkg/http/listener_test.go +++ b/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)