brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ahgittin <...@git.apache.org>
Subject [GitHub] incubator-brooklyn pull request: BrooklynNode entity safe STOP eff...
Date Mon, 15 Sep 2014 08:41:40 GMT
Github user ahgittin commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/161#discussion_r17530953
  
    --- Diff: software/base/src/test/java/brooklyn/entity/brooklynnode/BrooklynNodeIntegrationTest.java
---
    @@ -427,6 +431,48 @@ public void testHttps() throws Exception {
             }
         }
     
    +    public void testStopAndKillAppsEffector() throws Exception {
    +        createNodeAndExecStopEffector(BrooklynNode.STOP_NODE_AND_KILL_APPS);
    +    }
    +
    +    public void testStopButLeaveAppsEffector() throws Exception {
    +        createNodeAndExecStopEffector(BrooklynNode.STOP_NODE_BUT_LEAVE_APPS);
    +    }
    +
    +    private void createNodeAndExecStopEffector(Effector<?> eff) throws Exception
{
    --- End diff --
    
    the `eff` parameter is ignored; we aren't testing what we thing we are testing


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message