Skip to content

Commit

Permalink
oasis-test-runner: fix enumerating current test runs
Browse files Browse the repository at this point in the history
  • Loading branch information
matevz committed Feb 25, 2020
1 parent 2ade430 commit 48cea0a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions go/oasis-test-runner/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -327,13 +327,15 @@ func runRoot(cmd *cobra.Command, args []string) error {
logger.Info("skipping test case (assigned to different parallel job)",
"test", n,
)
index++
continue
}

if excludeMap[strings.ToLower(n)] {
if excludeMap[strings.ToLower(v.Name())] {
logger.Info("skipping test case (excluded by environment)",
"test", n,
"test", v.Name(),
)
index++
continue
}

Expand Down

0 comments on commit 48cea0a

Please sign in to comment.