You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by al...@apache.org on 2016/11/19 23:33:28 UTC

[1/2] brooklyn-server git commit: Disable testChildFailuresOnStartButWithQuorumCausesAppToSucceed

Repository: brooklyn-server
Updated Branches:
  refs/heads/master 5de342c7a -> bf280f124


Disable testChildFailuresOnStartButWithQuorumCausesAppToSucceed

Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/d9c79773
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/d9c79773
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/d9c79773

Branch: refs/heads/master
Commit: d9c7977352efdad3fe33ab2c0005720a8581a150
Parents: d7eb99e
Author: Aled Sage <al...@gmail.com>
Authored: Fri Nov 18 21:58:48 2016 +0000
Committer: Aled Sage <al...@gmail.com>
Committed: Sat Nov 19 23:31:31 2016 +0000

----------------------------------------------------------------------
 .../brooklyn/core/entity/ApplicationLifecycleStateTest.java    | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/d9c79773/core/src/test/java/org/apache/brooklyn/core/entity/ApplicationLifecycleStateTest.java
----------------------------------------------------------------------
diff --git a/core/src/test/java/org/apache/brooklyn/core/entity/ApplicationLifecycleStateTest.java b/core/src/test/java/org/apache/brooklyn/core/entity/ApplicationLifecycleStateTest.java
index 70057d4..3499f13 100644
--- a/core/src/test/java/org/apache/brooklyn/core/entity/ApplicationLifecycleStateTest.java
+++ b/core/src/test/java/org/apache/brooklyn/core/entity/ApplicationLifecycleStateTest.java
@@ -134,6 +134,12 @@ public class ApplicationLifecycleStateTest extends BrooklynMgmtUnitTestSupport {
         assertHealthEventually(app, Lifecycle.ON_FIRE, false);
     }
 
+    // TODO Fails in a full `mvn clean install`, but I can't get it to fail in Eclipse running 
+    // lots of times, or with `mvn test -Dtest=ApplicationLifecycleStateTest`. The failure is:
+    //     java.lang.AssertionError: (Dumped entity info - see log); entity=Application[6q37l8cu]; state=on-fire; up=true; notUpIndicators={}; serviceProblems={service-lifecycle-indicators-from-children-and-members=Required entity not healthy: FailingEntityImpl{id=exz9n1pti0}}
+    //     at org.apache.brooklyn.core.entity.ApplicationLifecycleStateTest.assertUpAndRunningEventually(ApplicationLifecycleStateTest.java:204)
+    //     at org.apache.brooklyn.core.entity.ApplicationLifecycleStateTest.testChildFailuresOnStartButWithQuorumCausesAppToSucceed(ApplicationLifecycleStateTest.java:146)
+    @Test(groups="Broken")
     public void testChildFailuresOnStartButWithQuorumCausesAppToSucceed() throws Exception {
         TestApplication app = mgmt.getEntityManager().createEntity(EntitySpec.create(TestApplication.class)
                 .configure(StartableApplication.UP_QUORUM_CHECK, QuorumCheck.QuorumChecks.atLeastOne())


[2/2] brooklyn-server git commit: This closes #446

Posted by al...@apache.org.
This closes #446


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/bf280f12
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/bf280f12
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/bf280f12

Branch: refs/heads/master
Commit: bf280f124255a829e998075cc2296d6cf6c71d6e
Parents: 5de342c d9c7977
Author: Aled Sage <al...@gmail.com>
Authored: Sat Nov 19 23:33:19 2016 +0000
Committer: Aled Sage <al...@gmail.com>
Committed: Sat Nov 19 23:33:19 2016 +0000

----------------------------------------------------------------------
 .../brooklyn/core/entity/ApplicationLifecycleStateTest.java    | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------