mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-14 20:33:59 +02:00
common/para: Skip flaky tests on Windows
This commit is contained in:
@@ -28,6 +28,9 @@ import (
|
||||
)
|
||||
|
||||
func TestPara(t *testing.T) {
|
||||
if runtime.GOOS == "windows" {
|
||||
t.Skip("skip para test on Windows")
|
||||
}
|
||||
if runtime.NumCPU() < 4 {
|
||||
t.Skipf("skip para test, CPU count is %d", runtime.NumCPU())
|
||||
}
|
||||
|
Reference in New Issue
Block a user