You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by fc...@apache.org on 2022/12/07 06:48:48 UTC

[incubator-kyuubi] branch master updated: [KYUUBI #3909][TEST] the new client should work properly when the engine exits unexpectedly

This is an automated email from the ASF dual-hosted git repository.

fchen 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 749b81d76 [KYUUBI #3909][TEST] the new client should work properly when the engine exits unexpectedly
749b81d76 is described below

commit 749b81d766627c633b141df79d84b35f934b5f8f
Author: sychen <sy...@ctrip.com>
AuthorDate: Wed Dec 7 14:48:38 2022 +0800

    [KYUUBI #3909][TEST] the new client should work properly when the engine exits unexpectedly
    
    ### _Why are the changes needed?_
    close #3909
    
    ### _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 #3918 from cxzl25/KYUUBI-3909.
    
    Closes #3909
    
    6dd0436aa [sychen] sync
    
    Authored-by: sychen <sy...@ctrip.com>
    Signed-off-by: Fu Chen <cf...@gmail.com>
---
 .../scala/org/apache/kyuubi/operation/KyuubiOperationPerUserSuite.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kyuubi-server/src/test/scala/org/apache/kyuubi/operation/KyuubiOperationPerUserSuite.scala b/kyuubi-server/src/test/scala/org/apache/kyuubi/operation/KyuubiOperationPerUserSuite.scala
index d14a006a0..8db286809 100644
--- a/kyuubi-server/src/test/scala/org/apache/kyuubi/operation/KyuubiOperationPerUserSuite.scala
+++ b/kyuubi-server/src/test/scala/org/apache/kyuubi/operation/KyuubiOperationPerUserSuite.scala
@@ -298,7 +298,7 @@ class KyuubiOperationPerUserSuite
         // force kill engine without shutdown hook
         exitReq.setStatement("java.lang.Runtime.getRuntime().halt(-1)")
         exitReq.setSessionHandle(handle)
-        exitReq.setRunAsync(true)
+        exitReq.setRunAsync(false)
         client.ExecuteStatement(exitReq)
       }
       withSessionHandle { (client, handle) =>