[
https://issues.apache.org/jira/browse/FELIX-3521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13281683#comment-13281683
]
Thomas Diesler commented on FELIX-3521:
---------------------------------------
The test fails at the very last assertion. Please also see the log for test
progress.
Here the test in prose:
// Bundle-SymbolicName: requirebundleB
// Export-Package: resources
// Bundle-SymbolicName: requirebundleC
// Export-Package: resources
resolve B,C
// Bundle-SymbolicName: requirebundleD
// Export-Package:
org.jboss.osgi.test.classloading.export;uses:=resources
// Import-Package: resources;bundle-symbolic-name=requirebundleC
resolve D
verify that D wires to C
// Bundle-SymbolicName: requirebundleE
// Require-Bundle: requirebundleD
// Import-Package: resources
resolve E
verify that E wires to C
> Regression related to RequireBundle and Import-Package with
> bundle-symbolic-name attribute
> ------------------------------------------------------------------------------------------
>
> Key: FELIX-3521
> URL: https://issues.apache.org/jira/browse/FELIX-3521
> Project: Felix
> Issue Type: Bug
> Components: Resolver
> Reporter: Thomas Diesler
> Attachments: test.log
>
>
> For this test
> https://github.com/tdiesler/jbosgi-resolver/blob/3.0/felix/src/test/java/org/jboss/test/osgi/resolver/RequireBundleResolverTest.java#L226
> I get
> Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.313 sec <<<
> FAILURE!
> testImportBySymbolicName(org.jboss.test.osgi.resolver.RequireBundleResolverTest)
> Time elapsed: 0.053 sec <<< FAILURE!
> junit.framework.AssertionFailedError:
> expected:<AbstractResource[requirebundleC:0.0.0]> but
> was:<AbstractResource[requirebundleB:0.0.0]>
--
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