From 8a2e0504e47654e2b0366fdd837ab7ca5b92d589 Mon Sep 17 00:00:00 2001 From: AlexYue Date: Sun, 11 Jun 2023 13:51:05 +0800 Subject: [PATCH] [chore](coldHeatCases) drop table first to enhance robustness (#20629) --- .../create_table_use_partition_policy.groovy | 1 + .../cold_heat_separation_p2/create_table_use_policy.groovy | 1 + .../cold_heat_separation_p2/modify_replica_use_partition.groovy | 1 + .../table_modify_resouce_and_policy.groovy | 1 + 4 files changed, 4 insertions(+) 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 8af02ce0af..3e9a8dd143 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 @@ -48,6 +48,7 @@ suite("create_table_use_partition_policy") { // used as passing out parameter to fetchDataSize List sizes = [-1, -1] def tableName = "lineitem1" + sql """ DROP TABLE IF EXISTS ${tableName} """ def stream_load_one_part = { partnum -> streamLoad { table tableName diff --git a/regression-test/suites/cold_heat_separation_p2/create_table_use_policy.groovy b/regression-test/suites/cold_heat_separation_p2/create_table_use_policy.groovy index b8395d5b07..fb7f115993 100644 --- a/regression-test/suites/cold_heat_separation_p2/create_table_use_policy.groovy +++ b/regression-test/suites/cold_heat_separation_p2/create_table_use_policy.groovy @@ -48,6 +48,7 @@ suite("create_table_use_policy") { // used as passing out parameter to fetchDataSize List sizes = [-1, -1] def tableName = "lineitem2" + sql """ DROP TABLE IF EXISTS ${tableName} """ def stream_load_one_part = { partnum -> streamLoad { table tableName diff --git a/regression-test/suites/cold_heat_separation_p2/modify_replica_use_partition.groovy b/regression-test/suites/cold_heat_separation_p2/modify_replica_use_partition.groovy index bd22c3f7ef..fc6566bbdb 100644 --- a/regression-test/suites/cold_heat_separation_p2/modify_replica_use_partition.groovy +++ b/regression-test/suites/cold_heat_separation_p2/modify_replica_use_partition.groovy @@ -63,6 +63,7 @@ suite("modify_replica_use_partition") { } def tableName = "lineitem3" + sql """ DROP TABLE IF EXISTS ${tableName} """ def stream_load_one_part = { partnum -> streamLoad { table tableName 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 37f0bd1439..82a4441c9f 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 @@ -48,6 +48,7 @@ suite("table_modify_resouce") { // used as passing out parameter to fetchDataSize List sizes = [-1, -1] def tableName = "lineitem4" + sql """ DROP TABLE IF EXISTS ${tableName} """ def stream_load_one_part = { partnum -> streamLoad { table tableName