This is an automated email from the ASF dual-hosted git repository. zhouxj pushed a commit to branch feature/GEODE-9677 in repository https://gitbox.apache.org/repos/asf/geode.git
commit 5f76e5454715056350a471e03031354c0459ba9f Author: zhouxh <[email protected]> AuthorDate: Wed Oct 13 09:23:34 2021 -0700 GEODE-9677: After provider sends ImageReply, requester could finish earlier than provider --- .../java/org/apache/geode/internal/cache/GIIDeltaDUnitTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/geode-core/src/distributedTest/java/org/apache/geode/internal/cache/GIIDeltaDUnitTest.java b/geode-core/src/distributedTest/java/org/apache/geode/internal/cache/GIIDeltaDUnitTest.java index 3c8a3d0..8722348 100644 --- a/geode-core/src/distributedTest/java/org/apache/geode/internal/cache/GIIDeltaDUnitTest.java +++ b/geode-core/src/distributedTest/java/org/apache/geode/internal/cache/GIIDeltaDUnitTest.java @@ -1530,8 +1530,8 @@ public class GIIDeltaDUnitTest extends JUnit4CacheTestCase { // let GII continue P.invoke(() -> resetGIITestHook(DuringPackingImage, true)); async3.join(MAX_WAIT * 2); - count = getDeltaGIICount(P); - assertEquals(0, count); + final int countConst = getDeltaGIICount(P); + GeodeAwaitility.await().untilAsserted(() -> assertEquals(0, countConst)); verifyDeltaSizeFromStats(R, 1, 1); // deltaGII, key1 in delta // tombstone key2, key5 should still exist and expired at R
