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

commit b1d9cb03b60f133b5b8e9acae5d1f5f626fbe328
Author: Kaijie Chen <c...@apache.org>
AuthorDate: Thu Sep 26 22:40:48 2024 +0800

    [fix](p2) fix assertion in test_broker_load_p2 (#41116)
    
    ## Proposed changes
    
    Fix assertion failure due to comparing wrong columns.
    
    expected: [INTERNAL_ERROR]failed to find default value expr for slot: x1
    actual: type:LOAD_RUN_FAIL
    
    ```
        2024-09-22 11:13:43.771 INFO [suite-thread-3] 
(test_broker_load.groovy:337) - Load result: [838879, 
L14_5c0d84b80e121044a5091fc065ee763c8e0e, CANCELLED, 0.00% (0/4), BROKER, null, 
cluster:oss-cn-beijing-internal.aliyuncs.com; timeout(s):14400; 
max_filter_ratio:0.0; priority:NORMAL, type:LOAD_RUN_FAIL; msg:errCode = 2, 
detailMessage = (172.20.50.26)[INTERNAL_ERROR]cur path: 
s3://qa-build/regression/load/data/part0.parquet. failed to find default value 
expr for slot: x1, 2024-09-22  [...]
    ```
---
 regression-test/suites/load_p2/broker_load/test_broker_load.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/regression-test/suites/load_p2/broker_load/test_broker_load.groovy 
b/regression-test/suites/load_p2/broker_load/test_broker_load.groovy
index c0574d17239..709e0245fde 100644
--- a/regression-test/suites/load_p2/broker_load/test_broker_load.groovy
+++ b/regression-test/suites/load_p2/broker_load/test_broker_load.groovy
@@ -344,7 +344,7 @@ suite("test_broker_load_p2", "p2") {
                     if (result[0][2].equals("CANCELLED")) {
                         logger.info("Load result: " + result[0])
                         assertTrue(result[0][6].contains(task_info[i]))
-                        assertTrue(result[0][7].contains(error_msg[i]), 
"expected: " + error_msg[i] + ", actual: " + result[0][7] + ", label: $label")
+                        assertTrue(result[0][9].contains(error_msg[i]), 
"expected: " + error_msg[i] + ", actual: " + result[0][7] + ", label: $label")
                         break;
                     }
                     Thread.sleep(1000)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to