jerryshao commented on code in PR #9008:
URL: https://github.com/apache/gravitino/pull/9008#discussion_r2488407157


##########
integration-test-common/src/test/java/org/apache/gravitino/integration/test/MiniGravitino.java:
##########
@@ -78,11 +84,25 @@ public MiniGravitino(MiniGravitinoContext context) throws 
IOException {
     mockConfDir.mkdirs();
   }
 
-  private void removeAuxRestConfiguration(Properties properties) {
-    // Disable Iceberg REST service
-    properties.remove(
-        AuxiliaryServiceManager.GRAVITINO_AUX_SERVICE_PREFIX
-            + AuxiliaryServiceManager.AUX_SERVICE_NAMES);
+  private void removeAuxRestConfiguration(Properties properties, String 
serviceToRemove) {
+    String value =
+        properties.getProperty(
+            AuxiliaryServiceManager.GRAVITINO_AUX_SERVICE_PREFIX
+                + AuxiliaryServiceManager.AUX_SERVICE_NAMES);
+    if (value != null && !value.isEmpty()) {
+      List<String> serviceNames = COMMA.splitToList(value);

Review Comment:
   Will this `splitToList` also do the `trim` to avoid some invisible 
characters like white space?



-- 
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