This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new cf2e8f859f7 [fix](cases) case break due to cluster -> compute group
(#41196)
cf2e8f859f7 is described below
commit cf2e8f859f737569a3bfa807855b76bad1239677
Author: Yongqiang YANG <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]