mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
skip flaky tests on windows OS (#16015)
This commit is contained in:
parent
9547b7d0e9
commit
944c62daf4
@ -27,6 +27,7 @@ import (
|
|||||||
"io"
|
"io"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
"runtime"
|
||||||
"strconv"
|
"strconv"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
@ -1123,6 +1124,10 @@ func TestGetObjectInlineNotInline(t *testing.T) {
|
|||||||
|
|
||||||
// Test reading an object with some outdated data in some disks
|
// Test reading an object with some outdated data in some disks
|
||||||
func TestGetObjectWithOutdatedDisks(t *testing.T) {
|
func TestGetObjectWithOutdatedDisks(t *testing.T) {
|
||||||
|
if runtime.GOOS == globalWindowsOSName {
|
||||||
|
t.Skip()
|
||||||
|
}
|
||||||
|
|
||||||
ctx, cancel := context.WithCancel(context.Background())
|
ctx, cancel := context.WithCancel(context.Background())
|
||||||
defer cancel()
|
defer cancel()
|
||||||
|
|
||||||
|
@ -21,6 +21,7 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"crypto/tls"
|
"crypto/tls"
|
||||||
"net"
|
"net"
|
||||||
|
"runtime"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
"sync/atomic"
|
"sync/atomic"
|
||||||
@ -167,6 +168,10 @@ func TestNewHTTPListener(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestHTTPListenerStartClose(t *testing.T) {
|
func TestHTTPListenerStartClose(t *testing.T) {
|
||||||
|
if runtime.GOOS == "windows" {
|
||||||
|
t.Skip()
|
||||||
|
}
|
||||||
|
|
||||||
nonLoopBackIP := getNonLoopBackIP(t)
|
nonLoopBackIP := getNonLoopBackIP(t)
|
||||||
|
|
||||||
testCases := []struct {
|
testCases := []struct {
|
||||||
@ -208,6 +213,10 @@ func TestHTTPListenerStartClose(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestHTTPListenerAddr(t *testing.T) {
|
func TestHTTPListenerAddr(t *testing.T) {
|
||||||
|
if runtime.GOOS == "windows" {
|
||||||
|
t.Skip()
|
||||||
|
}
|
||||||
|
|
||||||
nonLoopBackIP := getNonLoopBackIP(t)
|
nonLoopBackIP := getNonLoopBackIP(t)
|
||||||
var casePorts []string
|
var casePorts []string
|
||||||
for i := 0; i < 6; i++ {
|
for i := 0; i < 6; i++ {
|
||||||
@ -251,6 +260,10 @@ func TestHTTPListenerAddr(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestHTTPListenerAddrs(t *testing.T) {
|
func TestHTTPListenerAddrs(t *testing.T) {
|
||||||
|
if runtime.GOOS == "windows" {
|
||||||
|
t.Skip()
|
||||||
|
}
|
||||||
|
|
||||||
nonLoopBackIP := getNonLoopBackIP(t)
|
nonLoopBackIP := getNonLoopBackIP(t)
|
||||||
var casePorts []string
|
var casePorts []string
|
||||||
for i := 0; i < 6; i++ {
|
for i := 0; i < 6; i++ {
|
||||||
|
Loading…
Reference in New Issue
Block a user