mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
common/para: Skip flaky tests on Windows
This commit is contained in:
parent
80d2fdbaa0
commit
27620daa20
1 changed files with 3 additions and 0 deletions
|
@ -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())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue