elecharny commented on PR #165:
URL:
https://github.com/apache/directory-ldap-api/pull/165#issuecomment-2558367690
Hi,
when applying the patch, and running the tests, I gt 2 errors:
`[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed:
0.148 s <<< FAILURE! -- in
org.apache.directory.ldap.client.api.ValidatingPoolableLdapConnectionFactoryTest
[ERROR]
org.apache.directory.ldap.client.api.ValidatingPoolableLdapConnectionFactoryTest.testPoolWithStartTls
-- Time elapsed: 0.125 s <<< ERROR!
java.lang.RuntimeException: java.lang.IllegalStateException: Returned object
not currently part of this pool
at
org.apache.directory.ldap.client.api.LdapConnectionPool.releaseConnection(LdapConnectionPool.java:184)
at
org.apache.directory.ldap.client.api.ValidatingPoolableLdapConnectionFactoryTest$PoolTester.execute(ValidatingPoolableLdapConnectionFactoryTest.java:535)
at
org.apache.directory.ldap.client.api.ValidatingPoolableLdapConnectionFactoryTest.testPoolWithStartTls(ValidatingPoolableLdapConnectionFactoryTest.java:182)
at java.lang.reflect.Method.invoke(Method.java:498)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at
java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at
java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175)
Caused by: java.lang.IllegalStateException: Returned object not currently
part of this pool
at
org.apache.commons.pool2.impl.GenericObjectPool.returnObject(GenericObjectPool.java:1031)
at
org.apache.directory.ldap.client.api.LdapConnectionPool.releaseConnection(LdapConnectionPool.java:171)
... 7 more
[ERROR]
org.apache.directory.ldap.client.api.ValidatingPoolableLdapConnectionFactoryTest.testPoolWithBind
-- Time elapsed: 0.006 s <<< ERROR!
java.lang.RuntimeException: java.lang.IllegalStateException: Returned object
not currently part of this pool
at
org.apache.directory.ldap.client.api.LdapConnectionPool.releaseConnection(LdapConnectionPool.java:184)
at
org.apache.directory.ldap.client.api.ValidatingPoolableLdapConnectionFactoryTest$PoolTester.execute(ValidatingPoolableLdapConnectionFactoryTest.java:535)
at
org.apache.directory.ldap.client.api.ValidatingPoolableLdapConnectionFactoryTest.testPoolWithBind(ValidatingPoolableLdapConnectionFactoryTest.java:58)
at java.lang.reflect.Method.invoke(Method.java:498)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at
java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at
java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175)
Caused by: java.lang.IllegalStateException: Returned object not currently
part of this pool
at
org.apache.commons.pool2.impl.GenericObjectPool.returnObject(GenericObjectPool.java:1031)
at
org.apache.directory.ldap.client.api.LdapConnectionPool.releaseConnection(LdapConnectionPool.java:171)
... 7 more
[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR] ValidatingPoolableLdapConnectionFactoryTest.testPoolWithBind:58 »
Runtime java.lang.IllegalStateException: Returned object not currently part of
this pool
[ERROR]
ValidatingPoolableLdapConnectionFactoryTest.testPoolWithStartTls:182 » Runtime
java.lang.IllegalStateException: Returned object not currently part of this pool
[INFO]
[ERROR] Tests run: 46, Failures: 0, Errors: 2, Skipped: 0
[INFO]
`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]