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/23 10:09:00 UTC

[jira] [Commented] (SLING-4622) Sporadic discovery test failures

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

Stefan Egli commented on SLING-4622:
------------------------------------

TopologyEventTest.testNonDelayedInitEvent/testDelayedInitEvent test failure covered and fixed in SLING-4385

> Sporadic discovery test failures
> --------------------------------
>
>                 Key: SLING-4622
>                 URL: https://issues.apache.org/jira/browse/SLING-4622
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: Carsten Ziegeler
>              Labels: sling-IT
>             Fix For: Discovery Impl 1.1.8
>
>
> It seems we have sporadic test failures with the discovery impl, see e.g. 
> https://builds.apache.org/job/sling-trunk-1.8/982/org.apache.sling$org.apache.sling.discovery.impl/
> with three test failures:
>     org.apache.sling.discovery.impl.cluster.ClusterTest.testLeaderDesc
>  org.apache.sling.discovery.impl.cluster.ClusterTest.testDuplicateInstance3726  org.apache.sling.discovery.impl.cluster.TopologyEventTest.testDelayedInitEvent
> In detail:
> java.lang.AssertionError: null
> 	at org.junit.Assert.fail(Assert.java:86)
> 	at org.junit.Assert.assertTrue(Assert.java:41)
> 	at org.junit.Assert.assertFalse(Assert.java:64)
> 	at org.junit.Assert.assertFalse(Assert.java:74)
> 	at org.apache.sling.discovery.impl.cluster.ClusterTest.doTestLeader(ClusterTest.java:189)
> 	at org.apache.sling.discovery.impl.cluster.ClusterTest.testLeaderDesc(ClusterTest.java:147)
> java.lang.AssertionError: could not find a match in the topology with instance=c4ede060-31fd-4f3e-8e0b-a22086db22a1 and clusterViews=3
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.apache.sling.discovery.impl.cluster.ClusterTest.assertTopology(ClusterTest.java:767)
> 	at org.apache.sling.discovery.impl.cluster.ClusterTest.assertSameTopology(ClusterTest.java:542)
> 	at org.apache.sling.discovery.impl.cluster.ClusterTest.testDuplicateInstance3726(ClusterTest.java:526)
> java.lang.AssertionError: expected:<0> 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.testDelayedInitEvent(TopologyEventTest.java:158)



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