This is an automated email from the ASF dual-hosted git repository.
yao 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 55b1405 [KYUUBI #2184] Manage test failures with kyuubi spark nightly
build - operation listener *** FAILED ***
55b1405 is described below
commit 55b140566f466a0e33e675df84d727a95f3b36bd
Author: Nick-0723 <[email protected]>
AuthorDate: Sun Mar 20 23:21:21 2022 +0800
[KYUUBI #2184] Manage test failures with kyuubi spark nightly build -
operation listener *** FAILED ***
### _Why are the changes needed?_
Test failures - operation listener *** FAILED ***
https://github.com/apache/incubator-kyuubi/issues/2184
Scheduler pool *** FAILED ***
#2185
### _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 #2190 from Nick-0723/fix_initJobId.
Closes #2184
a7f5842b [Nick-0723] fix initJobId bug
Authored-by: Nick-0723 <[email protected]>
Signed-off-by: Kent Yao <[email protected]>
---
.../test/scala/org/apache/kyuubi/engine/spark/WithSparkSQLEngine.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/externals/kyuubi-spark-sql-engine/src/test/scala/org/apache/kyuubi/engine/spark/WithSparkSQLEngine.scala
b/externals/kyuubi-spark-sql-engine/src/test/scala/org/apache/kyuubi/engine/spark/WithSparkSQLEngine.scala
index 3ed851d..88e33d5 100644
---
a/externals/kyuubi-spark-sql-engine/src/test/scala/org/apache/kyuubi/engine/spark/WithSparkSQLEngine.scala
+++
b/externals/kyuubi-spark-sql-engine/src/test/scala/org/apache/kyuubi/engine/spark/WithSparkSQLEngine.scala
@@ -36,7 +36,7 @@ trait WithSparkSQLEngine extends KyuubiFunSuite {
// engine.initialize.sql='SHOW DATABASES'
protected var initJobId: Int = {
sparkMajorMinorVersion match {
- case (3, 2) => 1 // SPARK-35378
+ case (3, minor) if minor >= 2 => 1 // SPARK-35378
case (3, _) => 0
case _ =>
throw new IllegalArgumentException(s"Not Support spark version
$sparkMajorMinorVersion")