DomGarguilo commented on code in PR #5801:
URL: https://github.com/apache/accumulo/pull/5801#discussion_r2279656077


##########
test/src/main/java/org/apache/accumulo/test/TableOperationsIT.java:
##########
@@ -202,6 +204,60 @@ public void createTable() throws TableExistsException, 
AccumuloException,
     accumuloClient.tableOperations().delete(tableName);
   }
 
+  @Test
+  public void testDefendAgainstThreadsCreateSameTableNameConcurrently()
+      throws ExecutionException, InterruptedException {
+
+    ExecutorService pool = Executors.newFixedThreadPool(64);

Review Comment:
   Good idea then could use this constant for the inner loop iteration count, 
thread pool size and the CountDownLatch size



-- 
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