aboutsummaryrefslogtreecommitdiffhomepage
path: root/common
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2023-11-16 18:24:20 +0100
committerBjørn Erik Pedersen <[email protected]>2023-11-16 18:24:20 +0100
commit27620daa20bfd951971f98c8177488fc46d7637c (patch)
treed38b2f560262e8be12b43161be9e9267d9dc5104 /common
parent80d2fdbaa0dd02d7634df622c46841a5671b4dc2 (diff)
downloadhugo-27620daa20bfd951971f98c8177488fc46d7637c.tar.gz
hugo-27620daa20bfd951971f98c8177488fc46d7637c.zip
common/para: Skip flaky tests on Windows
Diffstat (limited to 'common')
-rw-r--r--common/para/para_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/para/para_test.go b/common/para/para_test.go
index 646b7b36b..5f79130a7 100644
--- a/common/para/para_test.go
+++ b/common/para/para_test.go
@@ -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())
}