Copilot commented on code in PR #7112:
URL: https://github.com/apache/kyuubi/pull/7112#discussion_r2179664418
##########
kyuubi-server/src/test/scala/org/apache/kyuubi/engine/spark/SparkProcessBuilderSuite.scala:
##########
@@ -79,7 +79,9 @@ class SparkProcessBuilderSuite extends KerberizedTestHelper
with MockitoSugar {
eventually(timeout(90.seconds), interval(500.milliseconds)) {
val error1 = processBuilder1.getError
assert(
-
error1.getMessage.contains("org.apache.hadoop.hive.ql.metadata.HiveException:"))
+
error1.getMessage.contains("org.apache.hadoop.hive.ql.metadata.HiveException:")
||
+ error1.getMessage.contains("Unable to instantiate " +
+ "org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient"))
Review Comment:
[nitpick] Combine the split string literal into one for readability, e.g.,
`error1.getMessage.contains("Unable to instantiate
org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient")`.
```suggestion
error1.getMessage.contains("Unable to instantiate
org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient"))
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]