[ 
https://issues.apache.org/jira/browse/ARIES-892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

John Ross resolved ARIES-892.
-----------------------------

    Resolution: Fixed

The verifyNoUnexpectedBundlesProvisioned test seems a bit brittle in terms of 
relying on the hardcoded value for the number of expected bundles in the 
environment at startup. Is it possible optional dependencies might get sucked 
in from one environment to another depending on what's in the local repository? 

I had 25 bundles instead of the expected 23. The additional two are:

wrap_mvn_org.ops4j.pax.exam_pax-exam-junit
org.apache.aries.subsystem.itest.interfaces

The second one should be there for everyone due to ARIES-891. The first one 
worries me a bit. Mark, can you confirm this test still works for you?
                
> org.apache.aries.subsystem.ctt.itests.SubsystemDependency_4ATest fails
> ----------------------------------------------------------------------
>
>                 Key: ARIES-892
>                 URL: https://issues.apache.org/jira/browse/ARIES-892
>             Project: Aries
>          Issue Type: Bug
>          Components: Subsystem
>            Reporter: John Ross
>            Assignee: John Ross
>
> The org.apache.aries.subsystem.ctt.itests.SubsystemDependency_4ATest within 
> org.apache.aries.subsystem.ctt.itests is failing.
> Caused by: java.lang.AssertionError: Wrong number of bundles in the Root 
> subsystem expected:<23> but was:<25>
>       at org.junit.Assert.fail(Assert.java:74)
>       at org.junit.Assert.failNotEquals(Assert.java:448)
>       at org.junit.Assert.assertEquals(Assert.java:102)
>       at org.junit.Assert.assertEquals(Assert.java:323)
>       at 
> org.apache.aries.subsystem.ctt.itests.SubsystemDependency_4ATest.verifyNoUnexpectedBundlesProvisioned(SubsystemDependency_4ATest.java:110)
>       ... 25 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to