Skip to content

Commit

Permalink
Merge pull request #24648 from jsafrane/4.4-fix-junit-failures
Browse files Browse the repository at this point in the history
[4.4]: Bug 1811088: Fix count of failures in JUnit output
  • Loading branch information
openshift-merge-robot committed Mar 8, 2020
2 parents e7871d1 + dc11de9 commit 62a087c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/test/ginkgo/junit.go
Expand Up @@ -145,7 +145,7 @@ func writeJUnitReport(filePrefix, name string, tests []*testCase, dir string, du
},
})
case test.success:
s.NumFailed++
s.NumTests++
s.TestCases = append(s.TestCases, &JUnitTestCase{
Name: test.name,
Duration: test.duration.Seconds(),
Expand Down

0 comments on commit 62a087c

Please sign in to comment.