mhansonp commented on a change in pull request #7114:
URL: https://github.com/apache/geode/pull/7114#discussion_r777766674



##########
File path: 
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/execute/PRColocationDUnitTest.java
##########
@@ -2604,6 +2612,13 @@ public void rebalancingOrRecoveryFinished(Region region) 
{
     public void waitForRegion(Region region, long timeout) throws 
InterruptedException {
       long start = System.currentTimeMillis();
       synchronized (this) {
+        while (!recoveryStartedOnRegions.contains(region)) {

Review comment:
       This should be simplified to an await.until...




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