You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ji...@apache.org on 2026/10/06 16:31:59 UTC
(geode) branch support/1.15 updated: GEODE-10669: Fix geode-wan test compile error on support/1.15 (#8098)
This is an automated email from the ASF dual-hosted git repository.
JinwooHwang pushed a commit to branch support/1.15
in repository https://gitbox.apache.org/repos/asf/geode.git
The following commit(s) were added to refs/heads/support/1.15 by this push:
new a64864f894 GEODE-10669: Fix geode-wan test compile error on support/1.15 (#8098)
a64864f894 is described below
commit a64864f8949683f3a8c39eaf5d6a4c43f06dd728
Author: Jinwoo Hwang <92...@users.noreply.github.com>
AuthorDate: Tue Oct 6 12:31:52 2026 -0400
GEODE-10669: Fix geode-wan test compile error on support/1.15 (#8098)
---
.../geode/cache/wan/internal/WanCopyRegionFunctionServiceTest.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/geode-wan/src/test/java/org/apache/geode/cache/wan/internal/WanCopyRegionFunctionServiceTest.java b/geode-wan/src/test/java/org/apache/geode/cache/wan/internal/WanCopyRegionFunctionServiceTest.java
index 03596ba8b0..a298cead08 100644
--- a/geode-wan/src/test/java/org/apache/geode/cache/wan/internal/WanCopyRegionFunctionServiceTest.java
+++ b/geode-wan/src/test/java/org/apache/geode/cache/wan/internal/WanCopyRegionFunctionServiceTest.java
@@ -164,6 +164,7 @@ public class WanCopyRegionFunctionServiceTest {
};
final String regionName = String.valueOf(i);
+ final int expectedExecutions = i + 1;
CompletableFuture
.supplyAsync(() -> {
try {
@@ -177,7 +178,8 @@ public class WanCopyRegionFunctionServiceTest {
// This ensures we don't have a race where multiple tasks try to start simultaneously
// and only some get registered before we check the count
await().untilAsserted(
- () -> assertThat(service.getNumberOfCurrentExecutions()).isGreaterThanOrEqualTo(i + 1));
+ () -> assertThat(service.getNumberOfCurrentExecutions())
+ .isGreaterThanOrEqualTo(expectedExecutions));
}
// Verify all executions are registered