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