Skip to content

Commit

Permalink
common/para: Skip flaky tests on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Nov 16, 2023
1 parent 80d2fdb commit 27620da
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions common/para/para_test.go
Expand Up @@ -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())
}
Expand Down

0 comments on commit 27620da

Please sign in to comment.