Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix](regression) Fix flaky test test_partial_update_2pc_schema_change #29037

Merged
merged 1 commit into from
Dec 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ suite("test_partial_update_2pc_schema_change", "p0") {
file 'concurrency_update3.csv'
time 10000 // limit inflight 10s
}
sql "sync;"
qt_sql """ select * from ${tableName} order by k1;"""


Expand Down Expand Up @@ -153,7 +154,7 @@ suite("test_partial_update_2pc_schema_change", "p0") {
assertEquals("success", json.Status.toLowerCase())
}
}

sql "sync;"
sql """ alter table ${tableName} modify column v2 varchar(40);"""
wait_for_schema_change()

Expand All @@ -165,7 +166,7 @@ suite("test_partial_update_2pc_schema_change", "p0") {

sql """ alter table ${tableName} rename column v4 renamed_v4;"""
wait_for_schema_change()

sql "sync;"
streamLoad {
table "${tableName}"
set 'column_separator', ','
Expand All @@ -176,11 +177,11 @@ suite("test_partial_update_2pc_schema_change", "p0") {
file 'concurrency_update2.csv'
time 10000 // limit inflight 10s
}

sql "sync;"
qt_sql """ select * from ${tableName} order by k1;"""

do_streamload_2pc(txnId, "commit", tableName)

sql "sync;"
qt_sql """ select * from ${tableName} order by k1;"""

sql "drop table if exists ${tableName};"
Expand Down
Loading