You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Egli (JIRA)" <ji...@apache.org> on 2015/06/22 13:21:00 UTC
[jira] [Commented] (SLING-4385)
TopologyEventTest.testNonDelayedInitEvent/testDelayedInitEvent test failure
[ https://issues.apache.org/jira/browse/SLING-4385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14595787#comment-14595787 ]
Stefan Egli commented on SLING-4385:
------------------------------------
This one was a side-effect of the {{testNonDelayedInitEvent}} failing - ie it left some instances running that did confuse the test cos they were still voting
> TopologyEventTest.testNonDelayedInitEvent/testDelayedInitEvent test failure
> ---------------------------------------------------------------------------
>
> Key: SLING-4385
> URL: https://issues.apache.org/jira/browse/SLING-4385
> Project: Sling
> Issue Type: Bug
> Components: Extensions
> Affects Versions: Discovery Impl 1.0.12
> Reporter: Stefan Egli
> Assignee: Stefan Egli
> Fix For: Discovery Impl 1.1.8
>
> Attachments: testFailure.txt, testFailure.txt, testFailure.txt
>
>
> TopologyEventTest.testNonDelayedInitEvent sometimes fails.
> eg: https://builds.apache.org/job/sling-trunk-1.8/org.apache.sling$org.apache.sling.discovery.impl/695/testReport/junit/org.apache.sling.discovery.impl.cluster/TopologyEventTest/testNonDelayedInitEvent/
> {code}
> java.lang.AssertionError: expected:<2> but was:<1>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:743)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.junit.Assert.assertEquals(Assert.java:555)
> at org.junit.Assert.assertEquals(Assert.java:542)
> at org.apache.sling.discovery.impl.cluster.TopologyEventTest.testNonDelayedInitEvent(TopologyEventTest.java:255)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)