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 113f0684a6 [chore](case) Simplify cold heat separation case (#25010)
113f0684a6 is described below
commit 113f0684a65bfd5e1aae58bf39bf26f1c16cb95a
Author: AlexYue <[email protected]>
AuthorDate: Sat Sep 30 15:35:42 2023 +0800
[chore](case) Simplify cold heat separation case (#25010)
---
.../cold_heat_separation_p2/add_drop_partition.groovy | 2 +-
.../create_table_use_partition_policy.groovy | 7 -------
.../table_modify_resouce_and_policy.groovy | 14 --------------
3 files changed, 1 insertion(+), 22 deletions(-)
diff --git
a/regression-test/suites/cold_heat_separation_p2/add_drop_partition.groovy
b/regression-test/suites/cold_heat_separation_p2/add_drop_partition.groovy
index 3bfe7fb851..3544f6fb3b 100644
--- a/regression-test/suites/cold_heat_separation_p2/add_drop_partition.groovy
+++ b/regression-test/suites/cold_heat_separation_p2/add_drop_partition.groovy
@@ -175,7 +175,7 @@ suite("add_drop_partition") {
log.info( "test remote size is same with origin size, sleep 10s")
sleep(10000)
tablets = sql """
- SHOW TABLETS FROM
+ SHOW TABLETS FROM ${tableName}
"""
fetchDataSize(sizes, tablets[0])
LocalDataSize1 = sizes[0]
diff --git
a/regression-test/suites/cold_heat_separation_p2/create_table_use_partition_policy.groovy
b/regression-test/suites/cold_heat_separation_p2/create_table_use_partition_policy.groovy
index a065e0b4f9..aa67130a9d 100644
---
a/regression-test/suites/cold_heat_separation_p2/create_table_use_partition_policy.groovy
+++
b/regression-test/suites/cold_heat_separation_p2/create_table_use_partition_policy.groovy
@@ -251,13 +251,6 @@ suite("create_table_use_partition_policy") {
log.info( "test tablets not empty")
assertTrue(tablets.size() > 0)
fetchDataSize(sizes, tablets[0])
- // while (tablets[0][8] == 0) {
- // log.info( "test local size is zero, sleep 10s")
- // sleep(10000)
- // tablets = sql """
- // SHOW TABLETS FROM ${tableName} PARTITIONS(p202302)
- // """
- // }
LocalDataSize1 = sizes[0]
RemoteDataSize1 = sizes[1]
log.info( "test local size is not zero")
diff --git
a/regression-test/suites/cold_heat_separation_p2/table_modify_resouce_and_policy.groovy
b/regression-test/suites/cold_heat_separation_p2/table_modify_resouce_and_policy.groovy
index 9335d4760e..bc9a518799 100644
---
a/regression-test/suites/cold_heat_separation_p2/table_modify_resouce_and_policy.groovy
+++
b/regression-test/suites/cold_heat_separation_p2/table_modify_resouce_and_policy.groovy
@@ -208,13 +208,6 @@ suite("table_modify_resouce") {
try_times -= 1
assertTrue(try_times > 0)
}
- // 所有的local data size为0
- log.info( "test all local size is zero")
- for (int i = 0; i < tablets.size(); i++) {
- fetchDataSize(sizes, tablets[i])
- assertEquals(sizes[0], 0)
- tablets[i][9] = sizes[1]
- }
// 修改resource和policy到新值然后查看remote data size是否能对上
sql """
@@ -298,13 +291,6 @@ suite("table_modify_resouce") {
try_times -= 1
assertTrue(try_times > 0)
}
- // 所有的local data size为0
- log.info( "test all local size is zero")
- for (int i = 0; i < tablets.size(); i++) {
- fetchDataSize(sizes, tablets[i])
- assertEquals(sizes[0], 0)
- tablets[i][9] = sizes[1]
- }
// 修改resource和policy到新值然后查看remote data size是否能对上
sql """
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]