[
https://issues.apache.org/jira/browse/ARIES-893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
John Ross resolved ARIES-893.
-----------------------------
Resolution: Fixed
Similar to ARIES-892, within the verifyNoUnexpectedBundlesProvisioned test, the
expected number of bundles in the root subsystem is off by two. The additional
two are:
wrap_mvn_org.ops4j.pax.exam_pax-exam-junit_1.2.3
org.apache.aries.subsystem.itest.interfaces (from ARIES-891)
I added these to the _expectedRootRegionBundles array. Again, I'm concerned
about the potential brittleness of this test. Mark, can you confirm this test
still works for you as well?
> org.apache.aries.subsystem.ctt.itests.SubsystemDependency_4CTest fails
> ----------------------------------------------------------------------
>
> Key: ARIES-893
> URL: https://issues.apache.org/jira/browse/ARIES-893
> 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 bundles: [org.eclipse.osgi, org.ops4j.pax.exam,
> org.ops4j.pax.exam.junit.extender, org.ops4j.pax.exam.junit.extender.impl,
> org.ops4j.pax.logging.pax-logging-api,
> org.ops4j.pax.logging.pax-logging-service, org.ops4j.pax.url.mvn,
> org.eclipse.osgi.services, org.eclipse.equinox.region,
> org.apache.aries.testsupport.unit, org.apache.aries.application.api,
> org.apache.aries.util, org.apache.aries.application.utils,
> org.apache.felix.bundlerepository, org.apache.felix.resolver,
> org.eclipse.equinox.coordinator, org.eclipse.equinox.event,
> org.apache.aries.subsystem.api, org.apache.aries.subsystem.core,
> com.springsource.org.junit, org.ops4j.pax.exam.rbc,
> org.osgi.service.subsystem.region.context.0, pax-exam-probe] Found 25
> bundles: [org.eclipse.osgi_3.8.0.v20120312-2035 [0], org.ops4j.pax.exam_1.2.3
> [1], org.ops4j.pax.exam.junit.extender_1.2.3 [2],
> org.ops4j.pax.exam.junit.extender.impl_1.2.3 [3],
> wrap_mvn_org.ops4j.pax.exam_pax-exam-junit_1.2.3_0.0.0 [4],
> org.ops4j.pax.logging.pax-logging-api_1.4.0 [5],
> org.ops4j.pax.logging.pax-logging-service_1.4.0 [6],
> org.ops4j.pax.url.mvn_1.1.2 [7],
> org.eclipse.osgi.services_3.3.0.v20111117-1210 [8],
> org.eclipse.equinox.region_1.1.0.v20120227-1635 [9],
> org.apache.aries.testsupport.unit_0.5.0.SNAPSHOT [10],
> org.apache.aries.application.api_1.0.0.SNAPSHOT [11],
> org.apache.aries.util_1.0.0.SNAPSHOT [12],
> org.apache.aries.application.utils_1.0.0.SNAPSHOT [13],
> org.apache.felix.bundlerepository_1.6.4 [14],
> org.apache.felix.resolver_0.1.0.r1336820 [15],
> org.eclipse.equinox.coordinator_1.1.0.v20120219-1616 [16],
> org.eclipse.equinox.event_1.2.100.v20111010-1614 [17],
> org.apache.aries.subsystem.api_0.1.0.SNAPSHOT [18],
> org.apache.aries.subsystem.core_0.1.0.SNAPSHOT [19],
> org.apache.aries.subsystem.itest.interfaces_0.1.0.SNAPSHOT [20],
> com.springsource.org.junit_4.4.0 [21], org.ops4j.pax.exam.rbc_1.2.3 [22],
> org.osgi.service.subsystem.region.context.0_1.0.0 [23], pax-exam-probe_0.0.0
> [24]]
> at org.junit.Assert.fail(Assert.java:74)
> at
> org.apache.aries.subsystem.ctt.itests.SubsystemDependency_4CTest.checkSubsystemContents(SubsystemDependency_4CTest.java:133)
> at
> org.apache.aries.subsystem.ctt.itests.SubsystemDependency_4CTest.verifyNoUnexpectedBundlesProvisioned(SubsystemDependency_4CTest.java:123)
> ... 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