jvarenina commented on a change in pull request #7193:
URL: https://github.com/apache/geode/pull/7193#discussion_r781159850



##########
File path: 
geode-core/src/integrationTest/java/org/apache/geode/internal/offheap/OffHeapRegionBase.java
##########
@@ -475,7 +475,8 @@ private void doRegionTest(final RegionShortcut rs, final 
String rName, boolean c
           fail("identity of offHeapStore changed when cache was recreated");
         }
         r = gfc.createRegionFactory(rs).setOffHeap(true).create(rName);
-        assertTrue(ma.getUsedMemory() > 0);
+        await()
+            .untilAsserted(() -> assertTrue(ma.getUsedMemory() > 0));

Review comment:
       Thank you for the review. I have applied all of your comments.




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