This is an automated email from the ASF dual-hosted git repository.

dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new 01b7e2e9cc5 [fix](cases) case break due to cluster -> compute group 
(#41196)
01b7e2e9cc5 is described below

commit 01b7e2e9cc519425486cc2e94824df5e74d11d1a
Author: Yongqiang YANG <98214048+dataroar...@users.noreply.github.com>
AuthorDate: Tue Sep 24 15:27:49 2024 +0800

    [fix](cases) case break due to cluster -> compute group (#41196)
---
 .../suites/cloud_p0/cache/http/test_reset_capacity.groovy         | 2 +-
 .../multi_cluster/warm_up/hotspot/test_warmup_show_stmt_2.groovy  | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/regression-test/suites/cloud_p0/cache/http/test_reset_capacity.groovy 
b/regression-test/suites/cloud_p0/cache/http/test_reset_capacity.groovy
index 33d6a1e4f48..2d04caaa078 100644
--- a/regression-test/suites/cloud_p0/cache/http/test_reset_capacity.groovy
+++ b/regression-test/suites/cloud_p0/cache/http/test_reset_capacity.groovy
@@ -45,7 +45,7 @@ suite("test_reset_capacity") {
             host = backend.IP
         }
         def cloud_tag = parseJson(backend.Tag)
-        if (backend.Alive.equals("true") && 
cloud_tag.cloud_cluster_name.contains("regression_cluster_name1")) {
+        if (backend.Alive.equals("true") && 
cloud_tag.compute_group_name.contains("regression_cluster_name1")) {
             backendIdToBackendIP.put(backend.BackendId, host)
             backendIdToBackendHttpPort.put(backend.BackendId, backend.HttpPort)
             backendIdToBackendBrpcPort.put(backend.BackendId, backend.BrpcPort)
diff --git 
a/regression-test/suites/cloud_p0/cache/multi_cluster/warm_up/hotspot/test_warmup_show_stmt_2.groovy
 
b/regression-test/suites/cloud_p0/cache/multi_cluster/warm_up/hotspot/test_warmup_show_stmt_2.groovy
index 439821f721f..0cee4201ebb 100644
--- 
a/regression-test/suites/cloud_p0/cache/multi_cluster/warm_up/hotspot/test_warmup_show_stmt_2.groovy
+++ 
b/regression-test/suites/cloud_p0/cache/multi_cluster/warm_up/hotspot/test_warmup_show_stmt_2.groovy
@@ -89,8 +89,8 @@ suite("test_warmup_show_stmt_2") {
             org.junit.Assert.assertTrue(getLineNumber() + "cannot find 
expected cache hotspot ${hotTableName}", result.size() > i + 1)
             continue
         }
-        assertEquals(result[i].get("cluster_id"), "regression_cluster_id0")
-        assertEquals(result[i].get("cluster_name"), "regression_cluster_name0")
+        assertEquals(result[i].get("compute_group_id"), 
"regression_cluster_id0")
+        assertEquals(result[i].get("compute_group_name"), 
"regression_cluster_name0")
         assertEquals(result[i].get("hot_table_name"), 
"regression_test_cloud_p0_cache_multi_cluster_warm_up_hotspot.customer")
     }
 
@@ -116,8 +116,8 @@ suite("test_warmup_show_stmt_2") {
             org.junit.Assert.assertTrue("cannot find expected cache hotspot 
${hotTableName}", result.size() > i + 1)
             continue
         }
-        assertEquals(result[i].get("cluster_id"), "regression_cluster_id0")
-        assertEquals(result[i].get("cluster_name"), "regression_cluster_name0")
+        assertEquals(result[i].get("compute_group_id"), 
"regression_cluster_id0")
+        assertEquals(result[i].get("compute_group_name"), 
"regression_cluster_name0")
         assertEquals(result[i].get("hot_table_name"), 
"regression_test_cloud_p0_cache_multi_cluster_warm_up_hotspot.customer")
         break
     }


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

Reply via email to