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 bd024372a1 Fix sserver group property argument in 
ScanServerGroupConfigurationIT (#4606)
bd024372a1 is described below

commit bd024372a162690792bc8b1baae4c9951e792f4b
Author: Dave Marion <dlmar...@apache.org>
AuthorDate: Tue May 28 10:15:04 2024 -0400

    Fix sserver group property argument in ScanServerGroupConfigurationIT 
(#4606)
---
 .../org/apache/accumulo/test/ScanServerGroupConfigurationIT.java     | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git 
a/test/src/main/java/org/apache/accumulo/test/ScanServerGroupConfigurationIT.java
 
b/test/src/main/java/org/apache/accumulo/test/ScanServerGroupConfigurationIT.java
index c18e6e1aff..6773251223 100644
--- 
a/test/src/main/java/org/apache/accumulo/test/ScanServerGroupConfigurationIT.java
+++ 
b/test/src/main/java/org/apache/accumulo/test/ScanServerGroupConfigurationIT.java
@@ -165,8 +165,11 @@ public class ScanServerGroupConfigurationIT extends 
SharedMiniClusterBase {
 
         // Bump the number of scan serves that can run to start the GROUP1 
scan server
         getCluster().getConfig().setNumScanServers(2);
+        // If the following fails to start the ScanServer, it's possible that 
the value
+        // of property SSERV_GROUP_NAME has changed. If that is the case, then 
this test
+        // and the scripts need to be updated.
         getCluster()._exec(ScanServer.class, ServerType.SCAN_SERVER, Map.of(),
-            new String[] {"-g", "GROUP1"});
+            new String[] {"-o", "sserver.group=GROUP1"});
         Wait.waitFor(() -> zk.getChildren(scanServerRoot, false).size() == 2);
         Wait.waitFor(() -> ((ClientContext) 
client).getScanServers().values().stream().anyMatch(
             (p) -> 
p.getSecond().equals(ScanServerSelector.DEFAULT_SCAN_SERVER_GROUP_NAME))

Reply via email to