mhansonp commented on a change in pull request #7114:
URL: https://github.com/apache/geode/pull/7114#discussion_r751692727
##########
File path:
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/execute/PRColocationDUnitTest.java
##########
@@ -2604,6 +2612,11 @@ public void rebalancingOrRecoveryFinished(Region region)
{
public void waitForRegion(Region region, long timeout) throws
InterruptedException {
long start = System.currentTimeMillis();
synchronized (this) {
+ long waitStart = (timeout / 10) - (System.currentTimeMillis() - start);
+ this.wait(waitStart);
+ if (!recoveryStartedOnRegions.contains(region)) {
Review comment:
I don't know the answer to this, but is there something we could wait
for rather than just a timeout?
--
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]