mount: skip tests on CI even if >= 2 processors

This commit is contained in:
Nick Craig-Wood 2022-06-08 18:01:06 +01:00
parent 08a897424b
commit 6c2331ffd7

View File

@ -7,6 +7,7 @@ import (
"runtime" "runtime"
"testing" "testing"
"github.com/rclone/rclone/fstest/testy"
"github.com/rclone/rclone/vfs/vfstest" "github.com/rclone/rclone/vfs/vfstest"
) )
@ -14,5 +15,6 @@ func TestMount(t *testing.T) {
if runtime.NumCPU() <= 2 { 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") 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) vfstest.RunTests(t, false, mount)
} }