You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2020/04/03 09:26:26 UTC

[GitHub] [beam] kamilwu commented on a change in pull request #11236: [BEAM-7505] Create SideInput Python Jenkins jobs

kamilwu commented on a change in pull request #11236: [BEAM-7505] Create SideInput Python Jenkins jobs
URL: https://github.com/apache/beam/pull/11236#discussion_r402876267
 
 

 ##########
 File path: .test-infra/jenkins/LoadTestConfig.groovy
 ##########
 @@ -202,6 +201,20 @@ class LoadTestConfig implements SerializableOption<Map<String, Serializable>> {
         return ConfigHelper.convertProperties(config.propertiesMap)
     }
 
+    /**
+     * Extends LoadTestConfig object by appending the given settings
+     * @param templateConfig LoadTestConfig instance
+     * @param cl Closure with settings
+     * @return LoadTestConfig object
+     */
+    static LoadTestConfig extend(final LoadTestConfig templateConfig, final Closure cl = {}) {
 
 Review comment:
   What do you think of `extendTemplate()`? The meaning would be pretty obvious. I also think of `extendedTemplate()`, but a verb could be better.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services