kevinrr888 commented on code in PR #5853:
URL: https://github.com/apache/accumulo/pull/5853#discussion_r2325809187


##########
test/src/main/java/org/apache/accumulo/test/functional/CompactionIT.java:
##########
@@ -282,7 +282,7 @@ public void testSuccessfulCompaction() throws Exception {
       final AtomicBoolean fail = new AtomicBoolean(false);
       final int THREADS = 5;
       for (int count = 0; count < THREADS; count++) {
-        ExecutorService executor = Executors.newFixedThreadPool(THREADS);
+        ExecutorService executor = Executors.newCachedThreadPool();
         final int span = 500000 / 59;
         for (int i = 0; i < 500000; i += 500000 / 59) {
           final int finalI = i;

Review Comment:
   Another case of many tasks being submitted to a cached pool



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to