dlmarion commented on code in PR #6176:
URL: https://github.com/apache/accumulo/pull/6176#discussion_r2889619882


##########
test/src/main/java/org/apache/accumulo/test/ScanServerGroupConfigurationIT.java:
##########
@@ -46,56 +46,60 @@
 public class ScanServerGroupConfigurationIT extends SharedMiniClusterBase {
 
   // @formatter:off
-  public static final String clientConfiguration =
-     "["+
-     " {"+
-     "   \"isDefault\": true,"+
-     "   \"maxBusyTimeout\": \"5m\","+
-     "   \"busyTimeoutMultiplier\": 8,"+
-     "   \"scanTypeActivations\": [],"+
-     "   \"timeToWaitForScanServers\":\"0s\","+
-     "   \"attemptPlans\": ["+
-     "     {"+
-     "       \"servers\": \"3\","+
-     "       \"busyTimeout\": \"33ms\","+
-     "       \"salt\": \"one\""+
-     "     },"+
-     "     {"+
-     "       \"servers\": \"13\","+
-     "       \"busyTimeout\": \"33ms\","+
-     "       \"salt\": \"two\""+
-     "     },"+
-     "     {"+
-     "       \"servers\": \"100%\","+
-     "       \"busyTimeout\": \"33ms\""+
-     "     }"+
-     "   ]"+
-     "  },"+
-     " {"+
-     "   \"isDefault\": false,"+
-     "   \"maxBusyTimeout\": \"5m\","+
-     "   \"busyTimeoutMultiplier\": 8,"+
-     "   \"group\": \"GROUP1\","+
-     "   \"scanTypeActivations\": [\"use_group1\"],"+
-     "   \"timeToWaitForScanServers\":\"0s\","+
-     "   \"attemptPlans\": ["+
-     "     {"+
-     "       \"servers\": \"3\","+
-     "       \"busyTimeout\": \"33ms\","+
-     "       \"salt\": \"one\""+
-     "     },"+
-     "     {"+
-     "       \"servers\": \"13\","+
-     "       \"busyTimeout\": \"33ms\","+
-     "       \"salt\": \"two\""+
-     "     },"+
-     "     {"+
-     "       \"servers\": \"100%\","+
-     "       \"busyTimeout\": \"33ms\""+
-     "     }"+
-     "   ]"+
-     "  }"+
-     "]";
+  public static final String clientConfiguration = """
+  [ \

Review Comment:
   It suppresses the newline character (ref 
[this](https://docs.oracle.com/en/java/javase/17/text-blocks/index.html#new-escape-sequences)).
 With the newlines in the JSON the json parsing was failing because it was only 
seeing the first line. So it appears that the client properties don't support a 
newline in the property value.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to