mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 08:46:24 +08:00
mount: skip tests on <= 2 CPUs to avoid lockup in #3154
This commit is contained in:
parent
56544bb2fd
commit
08b86cc94b
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user