Github user ahgittin commented on a diff in the pull request:
https://github.com/apache/incubator-brooklyn/pull/161#discussion_r17719851
--- 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 --
better now, `eff` is used :) however we still don't assert whether the
app was stopped or not -- would be nice to test that, but not essential. (i've
confirmed manually.)
---
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.
---