From 7380a57d90f09370cb438833513332d4d365cc16 Mon Sep 17 00:00:00 2001 From: avillarreal Date: Fri, 23 Oct 2026 09:10:39 -0500 Subject: [PATCH 1/2] Increase wait time in Wait.java --- test/src/main/java/org/apache/accumulo/test/util/Wait.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/src/main/java/org/apache/accumulo/test/util/Wait.java b/test/src/main/java/org/apache/accumulo/test/util/Wait.java index 264e7d1a3aa..11ae425f91f 100644 --- a/test/src/main/java/org/apache/accumulo/test/util/Wait.java +++ b/test/src/main/java/org/apache/accumulo/test/util/Wait.java @@ -27,7 +27,7 @@ public class Wait { - public static final long MAX_WAIT_MILLIS = SECONDS.toMillis(30); + public static final long MAX_WAIT_MILLIS = SECONDS.toMillis(60); public static final long SLEEP_MILLIS = 250; /** From 37161962d8a74d8d39a98480ff21f90631153136 Mon Sep 17 00:00:00 2001 From: avillarreal Date: Fri, 23 Oct 2026 11:00:56 -0500 Subject: [PATCH 2/2] Update wait time in testMultipleConfigurations --- .../apache/accumulo/test/conf/ResourceGroupConfigIT.java | 9 +++------ .../main/java/org/apache/accumulo/test/util/Wait.java | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/test/src/main/java/org/apache/accumulo/test/conf/ResourceGroupConfigIT.java b/test/src/main/java/org/apache/accumulo/test/conf/ResourceGroupConfigIT.java index 3bb57e99695..fcd931801b6 100644 --- a/test/src/main/java/org/apache/accumulo/test/conf/ResourceGroupConfigIT.java +++ b/test/src/main/java/org/apache/accumulo/test/conf/ResourceGroupConfigIT.java @@ -513,14 +513,11 @@ public void testMultipleConfigurations() throws Exception { getCluster().getConfig().getClusterServerConfiguration().clearCompactorResourceGroups(); Wait.waitFor(() -> cc.getServerPaths() - .getCompactor(ResourceGroupPredicate.exact(first), AddressSelector.all(), true).size() - == 0); + .getCompactor(ResourceGroupPredicate.exact(first), AddressSelector.all(), true).isEmpty(), 60_000); Wait.waitFor(() -> cc.getServerPaths() - .getScanServer(ResourceGroupPredicate.exact(second), AddressSelector.all(), true).size() - == 0); + .getScanServer(ResourceGroupPredicate.exact(second), AddressSelector.all(), true).isEmpty(), 60_000); Wait.waitFor(() -> cc.getServerPaths() - .getTabletServer(ResourceGroupPredicate.exact(third), AddressSelector.all(), true).size() - == 0); + .getTabletServer(ResourceGroupPredicate.exact(third), AddressSelector.all(), true).isEmpty(), 60_000); rgops.remove(first); rgops.remove(second); diff --git a/test/src/main/java/org/apache/accumulo/test/util/Wait.java b/test/src/main/java/org/apache/accumulo/test/util/Wait.java index 11ae425f91f..264e7d1a3aa 100644 --- a/test/src/main/java/org/apache/accumulo/test/util/Wait.java +++ b/test/src/main/java/org/apache/accumulo/test/util/Wait.java @@ -27,7 +27,7 @@ public class Wait { - public static final long MAX_WAIT_MILLIS = SECONDS.toMillis(60); + public static final long MAX_WAIT_MILLIS = SECONDS.toMillis(30); public static final long SLEEP_MILLIS = 250; /**