Skip to content

Commit

Permalink
Merge pull request #348 from jglick/PomExecutionException
Browse files Browse the repository at this point in the history
If we are catching `PomExecutionException` do not claim `SUCCESS`
  • Loading branch information
jglick committed Jul 29, 2022
2 parents bef3c43 + 7c9a480 commit 0e40e65
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,8 @@ && new VersionNumber(coreCoordinates.version).compareTo(new VersionNumber("1.485
status = TestStatus.INTERNAL_ERROR;
} else if (e.getTestDetails().hasFailures()) {
status = TestStatus.TEST_FAILURES;
} else { // Can this really happen ???
status = TestStatus.SUCCESS;
} else { // ???
status = TestStatus.INTERNAL_ERROR;
}
errorMessage = e.getErrorMessage();
warningMessages.addAll(e.getPomWarningMessages());
Expand Down

0 comments on commit 0e40e65

Please sign in to comment.