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: notifications-unsubscr...@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@kyuubi.apache.org
For additional commands, e-mail: notifications-h...@kyuubi.apache.org

Reply via email to