Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

cache: don't run failing tests on windows/386

Nick Craig-Wood6a9ef27b0919
diff --git a/backend/cache/cache_internal_test.go b/backend/cache/cache_internal_test.go
index 4c54340d9..c6ebaca8a 100644
--- a/backend/cache/cache_internal_test.go
+++ b/backend/cache/cache_internal_test.go
@@ -16,6 +16,7 @@ import (
"os"
"path"
"path/filepath"
+ "runtime"
"runtime/debug"
"strings"
"testing"
@@ -293,6 +294,9 @@ func TestInternalCachedWrittenContentMatches(t *testing.T) {
}
func TestInternalDoubleWrittenContentMatches(t *testing.T) {
+ if runtime.GOOS == "windows" && runtime.GOARCH == "386" {
+ t.Skip("Skip test on windows/386")
+ }
id := fmt.Sprintf("tidwcm%v", time.Now().Unix())
rootFs, boltDb := runInstance.newCacheFs(t, remoteName, id, false, true, nil, nil)
defer runInstance.cleanupFs(t, rootFs, boltDb)
@@ -681,6 +685,9 @@ func TestInternalCacheWrites(t *testing.T) {
}
func TestInternalMaxChunkSizeRespected(t *testing.T) {
+ if runtime.GOOS == "windows" && runtime.GOARCH == "386" {
+ t.Skip("Skip test on windows/386")
+ }
id := fmt.Sprintf("timcsr%v", time.Now().Unix())
rootFs, boltDb := runInstance.newCacheFs(t, remoteName, id, false, true, nil, map[string]string{"workers": "1"})
defer runInstance.cleanupFs(t, rootFs, boltDb)