mirror of
https://github.com/minio/minio.git
synced 2025-03-31 17:53:43 -04:00
Added support for macOS in TestNewHTTPListener (#4782)
This commit is contained in:
parent
283ad7e5e5
commit
fa52d491c5
@ -184,6 +184,8 @@ func TestNewHTTPListener(t *testing.T) {
|
|||||||
remoteAddrErrMsg := "listen tcp 93.184.216.34:9000: bind: cannot assign requested address"
|
remoteAddrErrMsg := "listen tcp 93.184.216.34:9000: bind: cannot assign requested address"
|
||||||
if runtime.GOOS == "windows" {
|
if runtime.GOOS == "windows" {
|
||||||
remoteAddrErrMsg = "listen tcp 93.184.216.34:9000: bind: The requested address is not valid in its context."
|
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)
|
tlsConfig := getTLSConfig(t)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user