skip flaky tests on windows OS (#16015)

This commit is contained in:
Harshavardhana
2022-11-07 00:11:21 -08:00
committed by GitHub
parent 9547b7d0e9
commit 944c62daf4
2 changed files with 18 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ import (
"io"
"os"
"path/filepath"
"runtime"
"strconv"
"testing"
@@ -1123,6 +1124,10 @@ func TestGetObjectInlineNotInline(t *testing.T) {
// Test reading an object with some outdated data in some disks
func TestGetObjectWithOutdatedDisks(t *testing.T) {
if runtime.GOOS == globalWindowsOSName {
t.Skip()
}
ctx, cancel := context.WithCancel(context.Background())
defer cancel()