Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Pax-Exam test failures

When I upgrade to the latest Mockito-inline (5.2.0) from 3.5.11 then the instrumentation does work but the Pax IT test all time out because it is unable to lookup Sling services:

Code Block
[INFO] Running org.apache.sling.graphql.core.it.GraphQLScriptEngineIT
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 21.341 s <<< FAILURE! - in org.apache.sling.graphql.core.it.GraphQLScriptEngineIT
[ERROR] org.apache.sling.graphql.core.it.GraphQLScriptEngineIT.testEnginePresent  Time elapsed: 10.114 s  <<< ERROR!
org.ops4j.pax.swissbox.tracker.ServiceLookupException: gave up waiting for service javax.script.ScriptEngineFactory
at org.ops4j.pax.swissbox.tracker.ServiceLookup.getService(ServiceLookup.java:199)

Outdated Felix Framework bundle

When inspecting the output of Pax-Exam tests the following error can be found java.lang.reflect.InaccessibleObjectException: Unable to make field private static final java.lang.Object java.net.URL.streamHandlerLock accessible: module java.base does not "opens java.net" to unnamed module @6205ec9d

...

Outdated Jackrabbit Oak version

When inspecting the output of the Pax-Exam tests the following error can be found: ERROR: Bundle org.apache.sling.resourceresolver [52] EventDispatcher: Error during dispatch. (java.lang.NoClassDefFoundError: java/security/acl/Group)

...