DomGarguilo commented on code in PR #5853:
URL: https://github.com/apache/accumulo/pull/5853#discussion_r2345008343
##########
test/src/main/java/org/apache/accumulo/test/UniqueNameAllocatorIT.java:
##########
@@ -71,6 +71,8 @@ void testConcurrentNameGeneration() throws Exception {
List<Future<Integer>> futures = new ArrayList<>();
// start a portion of threads at the same time
CountDownLatch startLatch = new CountDownLatch(32);
+ assertTrue(64 >= startLatch.getCount(),
+ "Not enough tasks to satisfy latch count - deadlock risk");
// create threads that are allocating large random chunks
for (int i = 0; i < 64; i++) {
Review Comment:
Fixed in 2c49e4a
--
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]