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: disable unreliable internal tests

remusb6f1ae00c7f09
diff --git a/cache/cache_internal_test.go b/cache/cache_internal_test.go
index 55d946deb..2a10e946b 100644
--- a/cache/cache_internal_test.go
+++ b/cache/cache_internal_test.go
@@ -534,12 +534,14 @@ func readDataFromObj(t *testing.T, co fs.Object, offset, end int64, useSeek bool
}
func cleanupFs(t *testing.T, f fs.Fs, b *cache.Persistent) {
+ t.Skip("FIXME disabled because it is unreliable")
err := f.Features().Purge()
require.NoError(t, err)
b.Close()
}
func newLocalCacheCryptFs(t *testing.T, localRemote, cacheRemote, cryptRemote string, purge bool, cfg map[string]string) (fs.Fs, *cache.Persistent) {
+ t.Skip("FIXME disabled because it is unreliable")
fstest.Initialise()
dbPath := filepath.Join(fs.CacheDir, "cache-backend", cacheRemote+".db")
boltDb, err := cache.GetPersistent(dbPath, &cache.Features{PurgeDb: true})
@@ -626,6 +628,7 @@ func newLocalCacheCryptFs(t *testing.T, localRemote, cacheRemote, cryptRemote st
}
func newLocalCacheFs(t *testing.T, localRemote, cacheRemote string, cfg map[string]string) (fs.Fs, *cache.Persistent) {
+ t.Skip("FIXME disabled because it is unreliable")
fstest.Initialise()
dbPath := filepath.Join(fs.CacheDir, "cache-backend", cacheRemote+".db")
boltDb, err := cache.GetPersistent(dbPath, &cache.Features{PurgeDb: true})