Details
-
Task
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Older versions of 2.* fail like:
[INFO] Running org.apache.jackrabbit.oak.security.authentication.ldap.impl.PoolableUnboundConnectionFactoryTest [ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.539 s <<< FAILURE! - in org.apache.jackrabbit.oak.security.authentication.ldap.impl.PoolableUnboundConnectionFactoryTest [ERROR] testSetValidator(org.apache.jackrabbit.oak.security.authentication.ldap.impl.PoolableUnboundConnectionFactoryTest) Time elapsed: 0.539 s <<< ERROR! org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: interface org.apache.directory.ldap.client.api.LdapConnectionValidator. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Oracle Corporation JVM vendor version : 11-ea+22 JVM name : Java HotSpot(TM) 64-Bit Server VM JVM version : 11-ea+22 JVM info : mixed mode OS name : Windows 10 OS version : 10.0
1.* versions do not seem to be affected.