Skip to content

Commit

Permalink
improved code path to set isParallelPathSpec
Browse files Browse the repository at this point in the history
  • Loading branch information
martinrode committed Jun 4, 2024
1 parent 056bf86 commit 29c63c2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions api_testsuite.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,12 +233,10 @@ func (ats *Suite) parseAndRunTest(v any, manifestDir, testFilePath string, k, re
switch t := v.(type) {
case string:
parallelRepititions, _ = util.GetParallelPathSpec(t)

isParallelPathSpec = parallelRepititions > 0

if parallelRepititions < 1 {
parallelRepititions = 1
}
isParallelPathSpec = parallelRepititions > 1
}

//Get the Manifest with @ logic
Expand Down

0 comments on commit 29c63c2

Please sign in to comment.