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 5791f092298 [fix](regression) fix txn_insert (#42885)
5791f092298 is described below

commit 5791f09229867af7f935bed60a2dc478e6ba8a6d
Author: meiyi <[email protected]>
AuthorDate: Wed Oct 30 16:39:52 2024 +0800

    [fix](regression) fix txn_insert (#42885)
    
    the case failed because different error message:
    ```
    (txn_insert.groovy:505) - exception: java.sql.SQLException: query is 
timeout, killed by timeout checker
    ```
---
 regression-test/suites/insert_p0/transaction/txn_insert.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/regression-test/suites/insert_p0/transaction/txn_insert.groovy 
b/regression-test/suites/insert_p0/transaction/txn_insert.groovy
index 44ed52f098e..9459297a00b 100644
--- a/regression-test/suites/insert_p0/transaction/txn_insert.groovy
+++ b/regression-test/suites/insert_p0/transaction/txn_insert.groovy
@@ -503,7 +503,7 @@ suite("txn_insert") {
                     assertFalse(true, "should not reach here")
                 } catch (Exception e) {
                     logger.info("exception: " + e)
-                    assertTrue(e.getMessage().contains("The transaction is 
already timeout") || e.getMessage().contains("Execute timeout"))
+                    assertTrue(e.getMessage().contains("The transaction is 
already timeout") || e.getMessage().contains("timeout"))
                 } finally {
                     try {
                         sql "rollback"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to