pax-exam wraps the test dependencies in a feature, which certainly
should not hold anything of interest. Ignore it.
Change-Id: I952fe65172277f3f156727b3302478db8a3533cb
Signed-off-by: Robert Varga <rovarga@cisco.com>
LOG.debug("Ignoring conditional feature {}", feature);
return Collections.emptySet();
}
+ // pax-exam's Karaf container generates a wrapper feature holding the test dependencies. Ignore it.
+ if ("test-dependencies".equals(feature.getName())) {
+ LOG.debug("Ignoring pax-exam wrapper feature {}", feature);
+ return Collections.emptySet();
+ }
if (!isInstalled(feature)) {
return Collections.emptySet();