mirror of
https://github.com/pgsty/minio.git
synced 2026-07-22 13:40:22 +03:00
update for smartos build (solaris too) (#10378)
This commit is contained in:
+1
-1
@@ -215,7 +215,7 @@ func TestCheckPortAvailability(t *testing.T) {
|
||||
|
||||
for _, testCase := range testCases {
|
||||
// On MS Windows and Mac, skip checking error case due to https://github.com/golang/go/issues/7598
|
||||
if (runtime.GOOS == globalWindowsOSName || runtime.GOOS == globalMacOSName) && testCase.expectedErr != nil {
|
||||
if (runtime.GOOS == globalWindowsOSName || runtime.GOOS == globalMacOSName || runtime.GOOS == "solaris") && testCase.expectedErr != nil {
|
||||
continue
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user