This is an automated email from the ASF dual-hosted git repository.

zhangstar333 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 96ef83e4d50 [chore](case) update regression-test README #29031
96ef83e4d50 is described below

commit 96ef83e4d502e1d8be23decd8e396dc0d1d4a4d8
Author: Dongyang Li <[email protected]>
AuthorDate: Tue Jan 9 17:36:19 2024 +0800

    [chore](case) update regression-test README #29031
---
 regression-test/README.md | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/regression-test/README.md b/regression-test/README.md
index 10ac36cbd72..849fc3681e7 100644
--- a/regression-test/README.md
+++ b/regression-test/README.md
@@ -42,7 +42,7 @@ under the License.
 3. 如果必须要设置 global,或者要改集群配置,可以指定 case 以 nonConcurrent 的方式运行。
 
     
[示例](https://github.com/apache/doris/blob/master/regression-test/suites/query_p0/sql_functions/cast_function/test_cast_string_to_array.groovy#L18)
-5. case 中涉及时间相关的,最好固定时间,不要用类似 now() 函数这种动态值,避免过一段时间后 case 就跑不过了。
+4. case 中涉及时间相关的,最好固定时间,不要用类似 now() 函数这种动态值,避免过一段时间后 case 就跑不过了。
 
     Problematic code:
     ```
@@ -52,3 +52,16 @@ under the License.
     ```
     sql """select count(*) from table where created < '2023-11-13';"""
     ```
+5. case 中 streamload 后请加上 sync 一下,避免在多 FE 环境中执行不稳定。
+
+    Problematic code:
+    ```
+    streamLoad { ... }
+    sql """select count(*) from table """
+    ```
+    Correct code:
+    ```
+    streamLoad { ... }
+    sql """sync"""
+    sql """select count(*) from table """
+    ```


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

Reply via email to