keith-turner commented on issue #5787:
URL: https://github.com/apache/accumulo/issues/5787#issuecomment-3168910560

   For the issue w/ `PoolResizeTestRepo.isReady` we could signael the test is 
done somehow and get it to exit.
   
   ```diff
   diff --git 
a/test/src/main/java/org/apache/accumulo/test/fate/FatePoolsWatcherITBase.java 
b/test/src/main/java/org/apache/accumulo/test/fate/FatePoolsWatcherITBase.java
   index 871c14e2cb..2ae14c9461 100644
   --- 
a/test/src/main/java/org/apache/accumulo/test/fate/FatePoolsWatcherITBase.java
   +++ 
b/test/src/main/java/org/apache/accumulo/test/fate/FatePoolsWatcherITBase.java
   @@ -687,7 +687,11 @@ public abstract class FatePoolsWatcherITBase extends 
SharedMiniClusterBase
        @Override
        public long isReady(FateId fateId, PoolResizeTestEnv environment) 
throws Exception {
          environment.numWorkers.incrementAndGet();
   -      environment.isReadyLatch.await();
   +      while(!environment.isReadyLatch.await(10, TimeUnit.MILLISECONDS)){
   +        if(testIsDone){
   +          // TODO exit or throw exception?
   +        }
   +      }
          return 0;
        }
   
   ```


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