You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by GitBox <gi...@apache.org> on 2022/01/04 00:31:13 UTC

[GitHub] [geode] mhansonp commented on a change in pull request #7114: GEODE-9642: skip RedundancyRecovery for colocated regions, if colocat…

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: notifications-unsubscribe@geode.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org