Skip to content

Commit

Permalink
test: define concurrency level by available CPU cores
Browse files Browse the repository at this point in the history
  • Loading branch information
majori committed Nov 11, 2024
1 parent 9a07770 commit 7f98c08
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import (
"path/filepath"
"reflect"
"regexp"
"runtime"
"strings"
"testing"
"time"
Expand Down Expand Up @@ -70,7 +71,7 @@ func TestFeatures(t *testing.T) {
Options: &godog.Options{
Format: "pretty",
Strict: true,
Concurrency: 8,
Concurrency: runtime.NumCPU(),
Paths: []string{"features"},
TestingT: t,
},
Expand Down

0 comments on commit 7f98c08

Please sign in to comment.