08-16-2017 03:25 PM
Hello. I am writing a unit test. I have a local deployment:
@LocalDeploy("x.y.z:OSGI-INF/foo.xml")
I'm using injection:
@Inject
protected RuntimeHarness runtimeHarness;
Then a test case:
@Test
public void testX() throws Exception {
...
runtimeHarness.undeployContrib("x.y.z", "OSGI-INF/foo.xml")
...
The call to undeployContrib fails because the component appears to be loaded into the org.nuxeo.osgi.app bundle. Not sure why. Am I doing something incorrect? (I could force load the bundle and the contribution in code - that's fine - it's mainly that I'm curious if the way I'm going about it is not supported, or, I'm just doing something incorrect.)
--Thanks
Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.