mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 12:36:38 +08:00
mount: allow tests to run on CI
This commit is contained in:
parent
4a382c09ec
commit
a0cb3bbd02
|
@ -4,17 +4,11 @@
|
|||
package mount
|
||||
|
||||
import (
|
||||
"runtime"
|
||||
"testing"
|
||||
|
||||
"github.com/rclone/rclone/fstest/testy"
|
||||
"github.com/rclone/rclone/vfs/vfstest"
|
||||
)
|
||||
|
||||
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")
|
||||
}
|
||||
testy.SkipUnreliable(t)
|
||||
vfstest.RunTests(t, false, mount)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user