Skip to content

Commit 9d24028

Browse files
committed
TaskTrackingExecutorTests: remove annoying unnecessary log
1 parent b122220 commit 9d24028

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/test/java/pl/morgwai/base/utils/concurrent/TaskTrackingExecutorTests.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -361,10 +361,7 @@ public void testDyingWorkersDoNotLeakTaskHolders() throws InterruptedException {
361361
final var originalFactory = getThreadFactory();
362362
setThreadFactory((task) -> {
363363
final var worker = originalFactory.newThread(task);
364-
worker.setUncaughtExceptionHandler((t, e) -> {
365-
log.log(FINE, "uncaught exception in " + t, e);
366-
workerDied.countDown();
367-
});
364+
worker.setUncaughtExceptionHandler((thread, exception) -> workerDied.countDown());
368365
return worker;
369366
});
370367
final var allTasksStarted = new CountDownLatch(THREADPOOL_SIZE - 1);

0 commit comments

Comments
 (0)