diff --git a/fs/operations/multithread_test.go b/fs/operations/multithread_test.go index 6b4c86f7d..3dc2a9ba8 100644 --- a/fs/operations/multithread_test.go +++ b/fs/operations/multithread_test.go @@ -121,11 +121,13 @@ func skipIfNotMultithread(ctx context.Context, t *testing.T, r *fstest.Run) int t.Skip("multithread writing not supported") } - // Only support one hash otherwise we end up spending a huge amount of CPU on hashing! - oldHashes := hash.SupportOnly([]hash.Type{r.Fremote.Hashes().GetOne()}) - t.Cleanup(func() { - _ = hash.SupportOnly(oldHashes) - }) + // Only support one hash for the local backend otherwise we end up spending a huge amount of CPU on hashing! + if r.Fremote.Features().IsLocal { + oldHashes := hash.SupportOnly([]hash.Type{r.Fremote.Hashes().GetOne()}) + t.Cleanup(func() { + _ = hash.SupportOnly(oldHashes) + }) + } ci := fs.GetConfig(ctx) chunkSize := int(ci.MultiThreadChunkSize)