deardeng commented on code in PR #56946:
URL: https://github.com/apache/doris/pull/56946#discussion_r2446595544


##########
regression-test/suites/cloud_p0/multi_cluster/test_no_cluster_hits.groovy:
##########
@@ -153,14 +154,37 @@ suite('test_no_cluster_hits', 'multi_cluster, docker') {
             result.size() == 0
         }
 
+        cluster.addBackend(1, "testCluster")
+
         try {
-            // errCode = 2, detailMessage = Can not find compute 
group:compute_cluster
-            sql """
-                select * from $table
-            """
+            // test root's default cluster invalid
+            connectInDocker('root', '') {
+                sql """insert into $table values (3, 3)"""
+            }
+        } catch (Exception e) {
+            logger.info("exception: {}", e.getMessage())
+            assertTrue(e.getMessage().contains("Current strategy: default 
compute group from user"))
+        } 
+
+        try {
+            connectInDocker('root', '') {
+                sql """select * from $table"""
+            }
         } catch (Exception e) {
             logger.info("exception: {}", e.getMessage())
-            assertTrue(e.getMessage().contains("Can not find compute group"))
+            assertTrue(e.getMessage().contains("Current strategy: default 
compute group from user"))

Review Comment:
   all return error msg:
   Unable to find the compute group. (virtual)/(real) 
compute_cluster/compute_cluster. Please check if the compute group has been 
deleted. Current strategy: default compute group from user
   
   in case,I just assert msg suffix
   



-- 
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]

Reply via email to