Skip to content

Commit

Permalink
Rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mrodm committed Jun 19, 2024
1 parent ec7cb78 commit 8d8fb5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/testrunner/testrunner.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
)

var (
DEFAULT_MAXIMUM_ROUTINES = runtime.GOMAXPROCS(0) / 2
defaultMaximumRoutines = runtime.GOMAXPROCS(0) / 2
maximumNumberParallelTest = environment.WithElasticPackagePrefix("MAXIMUM_NUMBER_PARALLEL_TESTS")
)

Expand Down Expand Up @@ -357,7 +357,7 @@ func RunSuite(ctx context.Context, runner TestRunner) ([]TestResult, error) {

func maxNumberRoutines() (int, error) {
var err error
maxRoutines := DEFAULT_MAXIMUM_ROUTINES
maxRoutines := defaultMaximumRoutines
v, ok := os.LookupEnv(maximumNumberParallelTest)
if ok {
maxRoutines, err = strconv.Atoi(v)
Expand Down

0 comments on commit 8d8fb5d

Please sign in to comment.