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

fs: don't run tests for --max-duration on remote backends

Nick Craig-Wood9c9cdf17126f
diff --git a/fs/sync/sync_test.go b/fs/sync/sync_test.go
index bd8194f9a..093d9e98a 100644
--- a/fs/sync/sync_test.go
+++ b/fs/sync/sync_test.go
@@ -993,6 +993,9 @@ func TestSyncWithUpdateOlder(t *testing.T) {
// Test with a max transfer duration
func TestSyncWithMaxDuration(t *testing.T) {
+ if *fstest.RemoteName != "" {
+ t.Skip("Skipping test on non local remote")
+ }
r := fstest.NewRun(t)
defer r.Finalise()