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

mount: skip tests on <= 2 CPUs to avoid lockup in #3154

Nick Craig-Wood08b86cc94bac
diff --git a/cmd/mount/mount_test.go b/cmd/mount/mount_test.go
index ac1f8913f..ea7e7e3aa 100644
--- a/cmd/mount/mount_test.go
+++ b/cmd/mount/mount_test.go
@@ -3,11 +3,15 @@
package mount
import (
+ "runtime"
"testing"
"github.com/rclone/rclone/cmd/mountlib/mounttest"
)
func TestMount(t *testing.T) {
+ if runtime.NumCPU() <= 2 {
+ t.Skip("FIXME skipping mount tests as they lock up on <= 2 CPUs - See: https://github.com/rclone/rclone/issues/3154")
+ }
mounttest.RunTests(t, mount)
}