Skip to content

Commit 7d7e21c

Browse files
committed
address comments
1 parent 219fb79 commit 7d7e21c

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

externals/kyuubi-spark-sql-engine/src/test/scala/org/apache/spark/kyuubi/SparkSQLEngineDeregisterSuite.scala

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ abstract class SparkSQLEngineDeregisterSuite
6161
class SparkSQLEngineDeregisterExceptionSuite extends SparkSQLEngineDeregisterSuite {
6262
override def withKyuubiConf: Map[String, String] = {
6363
super.withKyuubiConf ++
64-
Map(ENGINE_DEREGISTER_EXCEPTION_CLASSES.key -> "org.apache.spark.SparkArithmeticException")
65-
64+
Map(ENGINE_DEREGISTER_EXCEPTION_CLASSES.key ->
65+
classOf[SparkArithmeticException].getCanonicalName)
6666
}
6767
}
6868

@@ -88,7 +88,8 @@ class SparkSQLEngineDeregisterExceptionTTLSuite
8888
super.withKyuubiConf ++
8989
zookeeperConf ++ Map(
9090
ANSI_ENABLED.key -> "true",
91-
ENGINE_DEREGISTER_EXCEPTION_CLASSES.key -> "org.apache.spark.SparkArithmeticException",
91+
ENGINE_DEREGISTER_EXCEPTION_CLASSES.key ->
92+
classOf[SparkArithmeticException].getCanonicalName,
9293
ENGINE_DEREGISTER_JOB_MAX_FAILURES.key -> maxJobFailures.toString,
9394
ENGINE_DEREGISTER_EXCEPTION_TTL.key -> deregisterExceptionTTL.toString)
9495
}

0 commit comments

Comments
 (0)