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

dlmarion pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/main by this push:
     new 537042c61c Fix flaky test 
ResourceGroupConfigIT.testMultipleConfigurations (#6610)
537042c61c is described below

commit 537042c61c1e43c2c78f9588550f1146b065b996
Author: Amanda Villarreal <[email protected]>
AuthorDate: Mon Oct 26 06:38:46 2026 -0500

    Fix flaky test ResourceGroupConfigIT.testMultipleConfigurations (#6610)
    
    Updated wait time in testMultipleConfigurations
---
 .../org/apache/accumulo/test/conf/ResourceGroupConfigIT.java     | 9 +++------
 1 file changed, 3 insertions(+), 6 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 3bb57e9969..fcd931801b 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 class ResourceGroupConfigIT extends 
SharedMiniClusterBase {
       
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);

Reply via email to