|
Re: Trying to run integration tests [message #1729402 is a reply to message #1729378] |
Wed, 13 April 2016 20:50 |
|
Hi Christian,
It sounds to me like an issue with bundle activation, potentially ordering. Keep in mind that the test bundle and all it's dependencies are activated first. Then the JUnit rule is triggered and the server is started. This is different from regular startup when the server is activated before the other bundles.
Can you check if the service is dynamic, i.e. updating to changes in the service registry as the other service becomes available?
Also, I would try launching the tests with -console and then debug bundle activation/resolution status from within. You should set a breakpoint or instruct Equinox to not exit in case of errors. That's also very handy if you are troubleshooting resolution errors.
-Gunnar
|
|
|
|
Powered by
FUDForum. Page generated in 0.02597 seconds