Skip to content

Commit

Permalink
Prevent unlikely NoSuchElementException in continuous testing
Browse files Browse the repository at this point in the history
Fixes: #17824
  • Loading branch information
geoand committed Jun 11, 2021
1 parent f319507 commit 44ff213
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,9 @@ public void executionFinished(TestIdentifier testIdentifier, TestExecutionResult
if (aborted) {
return;
}
if (touchedClasses.isEmpty()) {
return;
}
Class<?> testClass = null;
String displayName = testIdentifier.getDisplayName();
TestSource testSource = testIdentifier.getSource().orElse(null);
Expand Down

0 comments on commit 44ff213

Please sign in to comment.