Stefan Egli created SLING-4300:
----------------------------------

             Summary: TopologyTest sometimes fails
                 Key: SLING-4300
                 URL: https://issues.apache.org/jira/browse/SLING-4300
             Project: Sling
          Issue Type: Test
          Components: Extensions
    Affects Versions: Discovery Impl 1.0.12
            Reporter: Stefan Egli
            Assignee: Stefan Egli
             Fix For: Discovery Impl 1.0.14


Recently, TopologyTest.testTwoNodes sometimes fails - eg: 
https://builds.apache.org/job/sling-trunk-1.8/org.apache.sling$org.apache.sling.discovery.impl/594/testReport/junit/org.apache.sling.discovery.impl.topology/TopologyTest/testTwoNodes/
{code}
Running org.apache.sling.discovery.impl.topology.TopologyTest
11.01.2015 12:55:41 *INFO * [main] Instance: <init>: starting 
slingId=dba77cb7-55a8-410d-9398-c687b52e0723, debugName=instance1
11.01.2015 12:55:41 *INFO * [main] Instance: <init>: starting 
slingId=8c04e110-c5aa-4b5b-8f4d-575c0c5d48b5, debugName=instance2
11.01.2015 12:55:41 *INFO * [main] TopologyConnectorServlet: activate: adding 
whitelist entry: 127.0.0.1
11.01.2015 12:55:41 *INFO * [main] TopologyConnectorServlet: activate: 
connector servlet registered at /libs/sling/topology
11.01.2015 12:55:41 *INFO * [main] Server: jetty-8.1.2.v20120308
11.01.2015 12:55:41 *INFO * [main] AbstractConnector: Started 
[email protected]:60605
11.01.2015 12:55:43 *INFO * [main] Instance: stop: stopping 
slingId=dba77cb7-55a8-410d-9398-c687b52e0723, debugName=instance1
11.01.2015 12:55:43 *INFO * [main] Instance: stop: removing listener for 
slingId=dba77cb7-55a8-410d-9398-c687b52e0723: 
org.apache.sling.discovery.impl.setup.Instance$1@160cfa74
11.01.2015 12:55:43 *INFO * [main] Instance: stop: stopped 
slingId=dba77cb7-55a8-410d-9398-c687b52e0723, debugName=instance1
11.01.2015 12:55:43 *INFO * [main] Instance: stop: stopping 
slingId=8c04e110-c5aa-4b5b-8f4d-575c0c5d48b5, debugName=instance2
11.01.2015 12:55:43 *INFO * [main] Instance: stop: removing listener for 
slingId=8c04e110-c5aa-4b5b-8f4d-575c0c5d48b5: 
org.apache.sling.discovery.impl.setup.Instance$1@3da4ff63
11.01.2015 12:55:43 *INFO * [main] Instance: stop: stopped 
slingId=8c04e110-c5aa-4b5b-8f4d-575c0c5d48b5, debugName=instance2
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.298 sec <<< 
FAILURE! - in org.apache.sling.discovery.impl.topology.TopologyTest
testTwoNodes(org.apache.sling.discovery.impl.topology.TopologyTest)  Time 
elapsed: 2.298 sec  <<< FAILURE!
java.lang.AssertionError: expected:<1> but was:<0>
        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.topology.TopologyTest.testTwoNodes(TopologyTest.java:97)
{code}



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

Reply via email to