You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by "Alex Heneveld (JIRA)" <ji...@apache.org> on 2016/02/25 02:39:18 UTC

[jira] [Commented] (BROOKLYN-203) Unpredictable test: ControlledDynamicWebAppClusterTest.testTheTestJavaWebApp

    [ https://issues.apache.org/jira/browse/BROOKLYN-203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15166530#comment-15166530 ] 

Alex Heneveld commented on BROOKLYN-203:
----------------------------------------

hopefully fixed by https://github.com/apache/brooklyn-server/pull/39

> Unpredictable test: ControlledDynamicWebAppClusterTest.testTheTestJavaWebApp
> ----------------------------------------------------------------------------
>
>                 Key: BROOKLYN-203
>                 URL: https://issues.apache.org/jira/browse/BROOKLYN-203
>             Project: Brooklyn
>          Issue Type: Bug
>            Reporter: Sam Corbett
>
> Broke in https://github.com/apache/incubator-brooklyn/pull/1095.
> Error Message
> {code}
> entity=TestJavaWebAppEntityImpl{id=IbVX3MAT}; attribute=Sensor: service.isUp (java.lang.Boolean) expected [false] but found [true]
> {code}
> Stacktrace
> {code}
> java.lang.AssertionError: entity=TestJavaWebAppEntityImpl{id=IbVX3MAT}; attribute=Sensor: service.isUp (java.lang.Boolean) expected [false] but found [true]
> 	at org.testng.Assert.fail(Assert.java:94)
> 	at org.testng.Assert.failNotEquals(Assert.java:494)
> 	at org.testng.Assert.assertEquals(Assert.java:123)
> 	at org.apache.brooklyn.test.EntityTestUtils.assertAttributeEquals(EntityTestUtils.java:62)
> 	at org.apache.brooklyn.test.EntityTestUtils$1.run(EntityTestUtils.java:78)
> 	at org.apache.brooklyn.test.Asserts$RunnableAdapter.call(Asserts.java:1210)
> 	at org.apache.brooklyn.test.Asserts.succeedsEventually(Asserts.java:872)
> 	at org.apache.brooklyn.test.Asserts.succeedsEventually(Asserts.java:799)
> 	at org.apache.brooklyn.test.EntityTestUtils.assertAttributeEqualsEventually(EntityTestUtils.java:75)
> 	at org.apache.brooklyn.test.EntityTestUtils.assertAttributeEqualsEventually(EntityTestUtils.java:70)
> 	at org.apache.brooklyn.entity.webapp.ControlledDynamicWebAppClusterTest.testTheTestJavaWebApp(ControlledDynamicWebAppClusterTest.java:134)
> {code}
> Standard Output
> {code}
> 2015-12-09 13:15:04,935 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.entity.webapp.ControlledDynamicWebAppClusterTest.setUp()
> 2015-12-09 13:15:04,971 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.entity.webapp.ControlledDynamicWebAppClusterTest.setUp() finished in 36 ms
> 2015-12-09 13:15:04,971 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.entity.webapp.ControlledDynamicWebAppClusterTest.testTheTestJavaWebApp()
> 2015-12-09 13:15:35,017 INFO  succeedsEventually exceeded max attempts or timeout - 69 attempts lasting 30000 ms, for RunnableAdapter(org.apache.brooklyn.test.EntityTestUtils$1@7f5823b6)
> 2015-12-09 13:15:35,017 INFO  failed succeeds-eventually, 69 attempts, 30000ms elapsed (rethrowing): java.lang.AssertionError: entity=TestJavaWebAppEntityImpl{id=IbVX3MAT}; attribute=Sensor: service.isUp (java.lang.Boolean) expected [false] but found [true]
> 2015-12-09 13:15:35,020 INFO  TESTNG FAILED: "Surefire test" - org.apache.brooklyn.entity.webapp.ControlledDynamicWebAppClusterTest.testTheTestJavaWebApp() finished in 30047 ms
> java.lang.AssertionError: entity=TestJavaWebAppEntityImpl{id=IbVX3MAT}; attribute=Sensor: service.isUp (java.lang.Boolean) expected [false] but found [true]
> 	at org.apache.brooklyn.test.EntityTestUtils.assertAttributeEquals(EntityTestUtils.java:62)
> 	at org.apache.brooklyn.test.EntityTestUtils$1.run(EntityTestUtils.java:78)
> 	at org.apache.brooklyn.test.Asserts$RunnableAdapter.call(Asserts.java:1210)
> 	at org.apache.brooklyn.test.Asserts.succeedsEventually(Asserts.java:872)
> 	at org.apache.brooklyn.test.Asserts.succeedsEventually(Asserts.java:799)
> 	at org.apache.brooklyn.test.EntityTestUtils.assertAttributeEqualsEventually(EntityTestUtils.java:75)
> 	at org.apache.brooklyn.test.EntityTestUtils.assertAttributeEqualsEventually(EntityTestUtils.java:70)
> 	at org.apache.brooklyn.entity.webapp.ControlledDynamicWebAppClusterTest.testTheTestJavaWebApp(ControlledDynamicWebAppClusterTest.java:134){code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)