This is an automated email from the ASF dual-hosted git repository. dataroaring pushed a commit to branch branch-3.0 in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push: new b71b35e0094 branch-3.0: [fix](regression) fix txn insert case #44395 (#44492) b71b35e0094 is described below commit b71b35e00940474ea7daaf6d985e2dcf1e3531c6 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Sat Nov 23 10:48:37 2024 +0800 branch-3.0: [fix](regression) fix txn insert case #44395 (#44492) Cherry-picked from #44395 Co-authored-by: meiyi <me...@selectdb.com> --- regression-test/suites/insert_p0/insert_with_null.groovy | 5 +++++ regression-test/suites/insert_p0/transaction/txn_insert.groovy | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/regression-test/suites/insert_p0/insert_with_null.groovy b/regression-test/suites/insert_p0/insert_with_null.groovy index 19e49a749cf..b89d642e33b 100644 --- a/regression-test/suites/insert_p0/insert_with_null.groovy +++ b/regression-test/suites/insert_p0/insert_with_null.groovy @@ -35,6 +35,11 @@ suite("insert_with_null") { ); """ + sql "ADMIN SET FRONTEND CONFIG ('commit_timeout_second' = '100')" + onFinish { + sql "ADMIN SET FRONTEND CONFIG ('commit_timeout_second' = '30')" + } + def getRowCount = { expectedRowCount -> def retry = 0 while (retry < 30) { diff --git a/regression-test/suites/insert_p0/transaction/txn_insert.groovy b/regression-test/suites/insert_p0/transaction/txn_insert.groovy index 9459297a00b..6653c05740e 100644 --- a/regression-test/suites/insert_p0/transaction/txn_insert.groovy +++ b/regression-test/suites/insert_p0/transaction/txn_insert.groovy @@ -42,6 +42,11 @@ suite("txn_insert") { return null } + sql "ADMIN SET FRONTEND CONFIG ('commit_timeout_second' = '100')" + onFinish { + sql "ADMIN SET FRONTEND CONFIG ('commit_timeout_second' = '30')" + } + for (def use_nereids_planner : [/*false,*/ true]) { sql " SET enable_nereids_planner = $use_nereids_planner; " --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org