Skip to content

Commit

Permalink
Merge pull request #33685 from stuartwdouglas/tccl-every-test
Browse files Browse the repository at this point in the history
Don't set the TCCL before every test
  • Loading branch information
mkouba authored May 30, 2023
2 parents c2546e7 + 13103ee commit 4f01c66
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,6 @@ public void executionStarted(TestIdentifier testIdentifier) {
startTimes.put(testIdentifier, System.currentTimeMillis());
String testClassName = "";
Class<?> testClass = getTestClassFromSource(testIdentifier.getSource());
if (testClass != null) {
testClassName = testClass.getName();
Thread.currentThread().setContextClassLoader(testClass.getClassLoader());
}
for (TestRunListener listener : listeners) {
listener.testStarted(testIdentifier, testClassName);
}
Expand Down

0 comments on commit 4f01c66

Please sign in to comment.