[KYUUBI #395] [WIP] FIx flaky test in ConnectionLevelSparkEngineSuite
 [](https://github.com/yaooqinn/kyuubi/pull/395)      [❨?❩](https://pullrequestbadge.com/?utm_medium=github&utm_source=yaooqinn&utm_campaign=badge_info)<!-- PR-BADGE: PLEASE DO NOT REMOVE THIS COMMENT --> <!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://kyuubi.readthedocs.io/en/latest/community/contributions.html 2. If the PR is related to an issue in https://github.com/yaooqinn/kyuubi/issues, add '[KYUUBI #XXXX]' in your PR title, e.g., '[KYUUBI #XXXX] Your PR title ...'. 3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][KYUUBI #XXXX] Your PR title ...'. --> ### _Why are the changes needed?_ <!-- Please clarify why the changes are needed. For instance, 1. If you add a feature, you can talk about the use case of it. 2. If you fix a bug, you can clarify why it is a bug. --> ### _How was this patch tested?_ Closes #395 from ulysses-you/flaky-test. e8bdd4d [ulysses-you] empty 08febfc [ulysses-you] empty c3805d1 [ulysses-you] empty 702ac2c [ulysses-you] empty a544ef0 [ulysses-you] empty 0bd8878 [ulysses-you] empty dbd53e4 [ulysses-you] fix f4be895 [ulysses-you] empty 195933a [ulysses-you] empty cb69e0d [ulysses-you] wip Authored-by: ulysses-you <ulyssesyou18@gmail.com> Signed-off-by: ulysses-you <ulyssesyou18@gmail.com>
This commit is contained in:
parent
352b4eb99e
commit
9cb507d3d1
@ -34,7 +34,8 @@ class EngineServiceDiscovery private(
|
||||
def this(server: Serverable) =
|
||||
this(classOf[EngineServiceDiscovery].getSimpleName, server)
|
||||
|
||||
override def stop(): Unit = {
|
||||
override def stop(): Unit = synchronized {
|
||||
closeServiceNode()
|
||||
conf.get(ENGINE_SHARED_LEVEL) match {
|
||||
// For connection level, we should clean up the namespace in zk in case the disk stress.
|
||||
case "CONNECTION" if namespace != null =>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user