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 55db8ca1cc5 [fix](regression) fix txn insert case (#44395)
55db8ca1cc5 is described below
commit 55db8ca1cc5e1662e865605a9f86f8e5a1e19626
Author: meiyi <[email protected]>
AuthorDate: Fri Nov 22 19:42:47 2024 +0800
[fix](regression) fix txn insert case (#44395)
---
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: [email protected]
For additional commands, e-mail: [email protected]