Karaf 4.1.2
Pax-exam 4.11.0
Java 1.8
Windows 10
I'm trying to copy-paste stuff from a working pax-exam karaf test[1],
but the copy-pasted test[2] fails in startup, because it can't find the
BundleContext{3]. Stack trace of the failing unit test is[4].
I have tried commenting out my own stuff in case there are some stuff
missing from the feature, but that didn't help. Besides, the feature
file[5] works fine when installing the feature from the console of a
regular karaf 4.1.2.
I've also tried bumping the systemTimeout() up to 720000 milliseconds,
without that helping either.
Can anyone spot what I've missed in the copy/paste...?
Thanks!
- Steinar
References:
[1]
<https://github.com/steinarb/ukelonn/blob/master/ukelonn.tests/src/test/java/no/priv/bang/ukelonn/tests/UkelonnServiceIntegrationTest.java#L45>
[2]
<https://gist.github.com/steinarb/42a269df682e69ce6fb3c413ca91baa6#file-fildeleintegrationtest-java-L29>
[3]
<https://gist.github.com/steinarb/6c8256618f422afed82ca75da2ddd01b#file-console-output-L1>
[4]
<https://gist.github.com/steinarb/6c8256618f422afed82ca75da2ddd01b#file-stack-trace-L1>
[5]
<https://gist.github.com/steinarb/42a269df682e69ce6fb3c413ca91baa6#file-feature-xml-L1>
--
--
------------------
OPS4J - http://www.ops4j.org - [email protected]
---
You received this message because you are subscribed to the Google Groups
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.