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

    https://github.com/apache/incubator-brooklyn/pull/903#discussion_r39724014
  
    --- Diff: 
software/database/src/test/java/org/apache/brooklyn/entity/database/mysql/MySqlClusterIntegrationTest.java
 ---
    @@ -40,4 +42,22 @@ public void test_localhost() throws Exception {
                 }
             }
         }
    +
    +    @Test(groups = {"Integration"})
    +    public void testMasterInit() throws Exception {
    +        try {
    +            MySqlClusterTestHelper.testMasterInit(app, getLocation());
    +        } finally {
    +            for (Entity member : 
Iterables.getOnlyElement(app.getChildren()).getChildren()) {
    +                String runDir = member.getAttribute(MySqlNode.RUN_DIR);
    +                if (runDir != null) {
    +                    Os.deleteRecursively(runDir);
    +                }
    +            }
    +        }
    +    }
    +
    +    private Location getLocation() {
    +        return mgmt.getLocationRegistry().resolve("vagrant", 
ImmutableMap.of("minRam", "2G"));
    --- End diff --
    
    Needs comment to say what config is required in brooklyn.properties for 
this to work. Presumably it won't work for other people, or for jenkins?


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