Skip to content

Commit

Permalink
[fix](regression-test) Avoid duplicated table name in schema change c…
Browse files Browse the repository at this point in the history
…ase for ck result in unstable state (apache#45471)
  • Loading branch information
TangSiyang2001 authored Dec 17, 2024
1 parent a283f0f commit 7a79d97
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import org.apache.http.client.methods.CloseableHttpResponse
import org.apache.http.util.EntityUtils

suite("test_schema_change_unique", "p0") {
def tableName3 = "test_all_unique"
def tableName3 = "test_all_unique_ck"

def getJobState = { tableName ->
def jobStateResult = sql """ SHOW ALTER TABLE COLUMN WHERE IndexName='${tableName}' ORDER BY createtime DESC LIMIT 1 """
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
// under the License.

suite("test_unique_schema_value_drop", "p0") {
def tbName = "test_unique_model_schema_value_drop"
def tbName2 = "test_unique_model_schema_value_drop_1"
def tbName = "test_unique_model_schema_value_drop_ck"
def tbName2 = "test_unique_model_schema_value_drop_1_ck"
def on_write = true
println String.format("current enable_unique_key_merge_on_write is : %s ",on_write)
sql """ DROP TABLE IF EXISTS ${tbName} """
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
// under the License.

suite("test_unique_schema_value_modify","p0") {
def tbName = "unique_model_value_change0"
def tbName2 = "unique_model_value_change_0"
def tbName = "unique_model_value_change0_ck"
def tbName2 = "unique_model_value_change_0_ck"
def on_write = true
println String.format("current enable_unique_key_merge_on_write is : %s ",on_write)
//Test the unique model by adding a value column
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
// under the License.

suite("test_unique_schema_value_modify1","p0") {
def tbName = "test_unique_model_value_change1"
def tbName2 = "test_unique_model_value_change_1"
def tbName = "test_unique_model_value_change1_ck"
def tbName2 = "test_unique_model_value_change_1_ck"
def on_write = true
println String.format("current enable_unique_key_merge_on_write is : %s ",on_write)
//Test the unique model by adding a value column
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
// under the License.

suite("test_unique_schema_value_modify2", "p0") {
def tbName = "test_unique_model_value_change2"
def tbName2 = "test_unique_model_value_change_2"
def tbName = "test_unique_model_value_change2_ck"
def tbName2 = "test_unique_model_value_change_2_ck"
def initTable1 = ""
def initTableData1 = ""
def on_write = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
// under the License.

suite("test_unique_schema_value_modify3", "p0") {
def tbName = "test_unique_model_value_change3"
def tbName2 = "test_unique_model_value_change_3"
def tbName = "test_unique_model_value_change3_ck"
def tbName2 = "test_unique_model_value_change_3_ck"
def on_write = true
println String.format("current enable_unique_key_merge_on_write is : %s ",on_write)
//Test the unique model by adding a value column
Expand Down

0 comments on commit 7a79d97

Please sign in to comment.