original-brownbear commented on code in PR #13472: URL: https://github.com/apache/lucene/pull/13472#discussion_r1642979739
########## lucene/core/src/test/org/apache/lucene/search/TestTaskExecutor.java: ########## @@ -308,7 +306,7 @@ public void testInvokeAllCatchesMultipleExceptions() { } public void testCancelTasksOnException() { - TaskExecutor taskExecutor = new TaskExecutor(executorService); + TaskExecutor taskExecutor = new TaskExecutor(Runnable::run); Review Comment: I actually liked leaving concurrency in the tests that didn't need this change to continue working. It showed a couple of issues when I went further than just this in another branch :) I think dead-lock free is pretty much already demonstrated by this test isn't it? :) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org