Github user neykov commented on a diff in the pull request:

    https://github.com/apache/brooklyn-server/pull/407#discussion_r88045366
  
    --- Diff: 
camp/camp-brooklyn/src/test/java/org/apache/brooklyn/camp/brooklyn/catalog/SpecParameterUnwrappingTest.java
 ---
    @@ -61,6 +61,11 @@
     import org.apache.brooklyn.entity.stock.BasicStartable;
     
     public class SpecParameterUnwrappingTest extends AbstractYamlTest {
    +    
    +    // Expect app to have the following config keys already: 
    +    // "application.stop.shouldDestroy", "defaultDisplayName", 
"quorum.running", "quorum.up", "start.latch"
    +    public static final int NUM_APP_DEFAULT_CONFIG_KEYS = 5;
    --- End diff --
    
    One thing  adding config keys on the app causes is that they get set on the 
top-level entity when unwrapping. As you discovered, having to add this 
constant. Shouldn't cause problems but could be surprising in some cases. Just 
to keep in mind - nothing to do on this PR.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to