aldettinger commented on a change in pull request #2996:
URL: https://github.com/apache/camel-quarkus/pull/2996#discussion_r684219333



##########
File path: tooling/scripts/group-tests.groovy
##########
@@ -79,10 +85,15 @@ class ResourceConcatenator {
                 }
                 newProps.each { key, val ->
                     if (props.containsKey(key) && !props.get(key).equals(val)) 
{
-                        throw new IllegalStateException("Conflicting property 
value "+ key +" = "+ val +": found in "+ path + " conflicting with some of " + 
visitedPaths);
+                        if (commaConcatenatePropertyNames.contains(key)) {
+                            props.put(key, props.get(key) + "," + val);
+                        } else {
+                            throw new IllegalStateException("Conflicting 
property value "+ key +" = "+ val +": found in "+ path + " conflicting with 
some of " + visitedPaths);

Review comment:
       Good catch :+1: 




-- 
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: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to