Details
-
Bug
-
Status: Resolved
-
Resolution: Won't Do
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
2826
Description
SingleFeatureTests currently can give false positives if:
a) Your feature depends on a bundle that is built in your local repo
b) Your features/pom.xml does not contain a dependency for that bundle.
Example:
example/foo/pom.xml
example/features/pom.xml
example/features/src/main/features/features.xml
If your features.xml contains a feature:
<feature bar>
<bundle>foo</bundle>
</features>
and you don't have a dependency for foo in features/pom.xml, then if you build
example/ (as happens on merge and verify) then SingleFeatureTests will succeed, because karaf will be able to find the foo bundle in ~/.m2 because you built it, but downstream projects (like integration) will not get foo pulled into their ~/.m2 and will fail.
We need to think up a way to also catch this case.
Attachments
Issue Links
- blocks
-
ODLPARENT-14 SingleFeatureTest#installFeature hangs frequently during verify builds
- Resolved
| # | Subject | Branch | Project | Status | CR | V |
|---|---|---|---|---|---|---|
| 110029,1 | WIP: Bump upstreams | master | mdsal | Status: NEW | 0 | -1 |