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

This commit is contained in:
Nick Craig-Wood 2019-09-19 15:10:51 +01:00
parent 56544bb2fd
commit 08b86cc94b

View File

@ -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)
}