You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by ch...@apache.org on 2022/08/09 17:35:25 UTC
[incubator-kyuubi] branch master updated: [KYUUBI #3204] Fix duplicated ldapServer#close in LdapAuthenticationProviderImplSuite
This is an automated email from the ASF dual-hosted git repository.
chengpan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-kyuubi.git
The following commit(s) were added to refs/heads/master by this push:
new bedc22cb0 [KYUUBI #3204] Fix duplicated ldapServer#close in LdapAuthenticationProviderImplSuite
bedc22cb0 is described below
commit bedc22cb03bc920ddf4765509032d5c143425526
Author: jiaoqingbo <11...@qq.com>
AuthorDate: Wed Aug 10 01:34:41 2022 +0800
[KYUUBI #3204] Fix duplicated ldapServer#close in LdapAuthenticationProviderImplSuite
### _Why are the changes needed?_
fix #3204
### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible
- [ ] Add screenshots for manual tests if appropriate
- [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request
Closes #3205 from jiaoqingbo/kyuubi-3204.
Closes #3204
185dd427 [jiaoqingbo] [KYUUBI #3204]In LdapAuthenticationProviderImplSuite afterAll() method,ldapServer.close() should be called only once
Authored-by: jiaoqingbo <11...@qq.com>
Signed-off-by: Cheng Pan <ch...@apache.org>
---
.../service/authentication/LdapAuthenticationProviderImplSuite.scala | 1 -
1 file changed, 1 deletion(-)
diff --git a/kyuubi-common/src/test/scala/org/apache/kyuubi/service/authentication/LdapAuthenticationProviderImplSuite.scala b/kyuubi-common/src/test/scala/org/apache/kyuubi/service/authentication/LdapAuthenticationProviderImplSuite.scala
index 2563dc00d..639411628 100644
--- a/kyuubi-common/src/test/scala/org/apache/kyuubi/service/authentication/LdapAuthenticationProviderImplSuite.scala
+++ b/kyuubi-common/src/test/scala/org/apache/kyuubi/service/authentication/LdapAuthenticationProviderImplSuite.scala
@@ -35,7 +35,6 @@ class LdapAuthenticationProviderImplSuite extends WithLdapServer {
}
override def afterAll(): Unit = {
- ldapServer.close()
super.afterAll()
}