github-rmslash-com commented on PR #165: URL: https://github.com/apache/directory-ldap-api/pull/165#issuecomment-2559097449
Hi, I checked and fixed the failed test. Synced the forked, rebased the ranch and reopened the pull request :). Feel free to test. https://github.com/apache/directory-ldap-api/pull/165 ZTank you for your support Andreas Am 22.12.24 um 08:59 schrieb Emmanuel Lécharny: > 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] > ` > > — > Reply to this email directly, view it on GitHub <https://github.com/ > apache/directory-ldap-api/pull/165#issuecomment-2558367690>, or > unsubscribe <https://github.com/notifications/unsubscribe-auth/ > ATI27QJGI34PXQ6XYUKMPH32GZWPNAVCNFSM6AAAAABUAUW6ESVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJYGM3DONRZGA>. > You are receiving this because you authored the thread.Message ID: > ***@***.***> > -- Mit freundlichen Grüßen Andreas Schufft mobile: +49-171/8279949 phone: +49-7371/9347132 -- 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]
