org.ops4j.pax.exam2
org.ops4j.pax.exam2 copied to clipboard
Bundle noStart() doesn't work in Karaf container [PAXEXAM-807]
Amichai Rothman created PAXEXAM-807
When configuring bundles in a Karaf test container e.g. via mavenBundle(), one can call start() or noStart() (in AbstractProvisionControl) to specify whether the bundle will be started automatically or just resolved. However it seems this is ignored and does not actually work - the bundle is always started regardless of the configuration.
A bit of debugging shows that DependenciesDeployer.writeDependenciesFeature creates a feature with the bundles, but it fails to check shouldStart and set a start attribute on the bundle accordingly, which to my understanding is what it should do.
Affects: 4.10.0 Votes: 0, Watches: 1