You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by zh...@apache.org on 2021/11/24 00:51:20 UTC

[geode] branch feature/GEODE-9850 created (now b59b3d1)

This is an automated email from the ASF dual-hosted git repository.

zhouxj pushed a change to branch feature/GEODE-9850
in repository https://gitbox.apache.org/repos/asf/geode.git.


      at b59b3d1  GEODE-9850: tombstone might not create yet caused getOldestTombstoneTime() return 0

This branch includes the following new commits:

     new b59b3d1  GEODE-9850: tombstone might not create yet caused getOldestTombstoneTime() return 0

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[geode] 01/01: GEODE-9850: tombstone might not create yet caused getOldestTombstoneTime() return 0

Posted by zh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zhouxj pushed a commit to branch feature/GEODE-9850
in repository https://gitbox.apache.org/repos/asf/geode.git

commit b59b3d13f8beb28b24ba95706d915b31689ce11a
Author: zhouxh <gz...@pivotal.io>
AuthorDate: Tue Nov 23 16:48:38 2021 -0800

    GEODE-9850: tombstone might not create yet caused getOldestTombstoneTime() return 0
---
 .../org/apache/geode/internal/cache/versions/TombstoneDUnitTest.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/geode-core/src/distributedTest/java/org/apache/geode/internal/cache/versions/TombstoneDUnitTest.java b/geode-core/src/distributedTest/java/org/apache/geode/internal/cache/versions/TombstoneDUnitTest.java
index a576706..bdf4d9d 100644
--- a/geode-core/src/distributedTest/java/org/apache/geode/internal/cache/versions/TombstoneDUnitTest.java
+++ b/geode-core/src/distributedTest/java/org/apache/geode/internal/cache/versions/TombstoneDUnitTest.java
@@ -241,10 +241,10 @@ public class TombstoneDUnitTest implements Serializable {
       // Send tombstone gc message to vm1.
       for (int i = 0; i < count; i++) {
         region.destroy("K" + i);
-        assertThat(
+        await().untilAsserted(() -> assertThat(
             tombstoneSweeper.getOldestTombstoneTime()
                 + TombstoneService.REPLICATE_TOMBSTONE_TIMEOUT_DEFAULT - System.currentTimeMillis())
-                    .isGreaterThan(0);
+                    .isGreaterThan(0));
         performGC(1);
       }