You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by fe...@apache.org on 2022/04/27 13:37:11 UTC

[incubator-kyuubi] branch master updated: [KYUUBI #2457] Fix flaky test: engine log truncation

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

feiwang 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 38cf4ccc7 [KYUUBI #2457] Fix flaky test: engine log truncation
38cf4ccc7 is described below

commit 38cf4ccc738c0e59952e139f3e94fef7472d7bdf
Author: wforget <64...@qq.com>
AuthorDate: Wed Apr 27 21:37:05 2022 +0800

    [KYUUBI #2457] Fix flaky test: engine log truncation
    
    ### _Why are the changes needed?_
    
    close #2457
    
    ### _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
    
    - [ ] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request
    
    Closes #2488 from wForget/KYUUBI-2457.
    
    Closes #2457
    
    f49441e4 [wforget] [KYUUBI-2457] Fix flaky test: engine log truncation
    
    Authored-by: wforget <64...@qq.com>
    Signed-off-by: Fei Wang <fw...@ebay.com>
---
 .../scala/org/apache/kyuubi/engine/spark/SparkProcessBuilderSuite.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kyuubi-server/src/test/scala/org/apache/kyuubi/engine/spark/SparkProcessBuilderSuite.scala b/kyuubi-server/src/test/scala/org/apache/kyuubi/engine/spark/SparkProcessBuilderSuite.scala
index 2614f9409..440b667b8 100644
--- a/kyuubi-server/src/test/scala/org/apache/kyuubi/engine/spark/SparkProcessBuilderSuite.scala
+++ b/kyuubi-server/src/test/scala/org/apache/kyuubi/engine/spark/SparkProcessBuilderSuite.scala
@@ -103,7 +103,7 @@ class SparkProcessBuilderSuite extends KerberizedTestHelper with MockitoSugar {
       val error1 = pb3.getError
       assert(!error1.getMessage.contains("Failed to detect the root cause"))
       assert(error1.getMessage.contains("See more: "))
-      assert(error1.getMessage.contains("Exception in thread"))
+      assert(error1.getMessage.contains("Only one of --proxy-user or --principal can be provided"))
     }
   }