Skip to content

Commit

Permalink
common/para: Skip flaky test on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Nov 28, 2023
1 parent 4fb40ee commit e2a624d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions common/para/para_test.go
Expand Up @@ -28,15 +28,13 @@ 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())
}

if !htesting.IsCI() {
t.Skip("skip para test when not running on CI")
// TODO(bep)
if htesting.IsCI() {
t.Skip("skip para test when running on CI")
}

c := qt.New(t)
Expand Down

0 comments on commit e2a624d

Please sign in to comment.