From 803ed61ca00bc4506d05fe8a9c7e5248f66a2a9c Mon Sep 17 00:00:00 2001 From: 54liuyao <54liuyao@163.com> Date: Mon, 2 Dec 2024 09:29:55 +0800 Subject: [PATCH] ci(stream):add long time test for stream --- tests/parallel_test/longtimeruning_cases.task | 3 +++ tests/script/tsim/stream/streamTwaInterpFwcCheckpoint.sim | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/parallel_test/longtimeruning_cases.task b/tests/parallel_test/longtimeruning_cases.task index 1ec234c266..1034771159 100644 --- a/tests/parallel_test/longtimeruning_cases.task +++ b/tests/parallel_test/longtimeruning_cases.task @@ -13,6 +13,9 @@ #tsim test #,,y,script,./test.sh -f tsim/query/timeline.sim +,,y,script,./test.sh -f tsim/stream/streamTwaInterpFwcCheckpoint.sim +,,y,script,./test.sh -f tsim/stream/streamFwcIntervalFill.sim +,,y,script,./test.sh -f tsim/stream/streamTwaFwcInterval.sim #docs-examples test #,,n,docs-examples-test,bash c.sh diff --git a/tests/script/tsim/stream/streamTwaInterpFwcCheckpoint.sim b/tests/script/tsim/stream/streamTwaInterpFwcCheckpoint.sim index 26be5018c1..8d30e1c1d3 100644 --- a/tests/script/tsim/stream/streamTwaInterpFwcCheckpoint.sim +++ b/tests/script/tsim/stream/streamTwaInterpFwcCheckpoint.sim @@ -110,10 +110,10 @@ print =====streamt4_rows=$streamt4_rows $loop_count = 0 loop1: -sleep 2000 +sleep 6000 $loop_count = $loop_count + 1 -if $loop_count == 20 then +if $loop_count == 100 then return -1 endi @@ -154,7 +154,7 @@ sql insert into t1 values(now + 3000a,10,10,10); $loop_count = 0 loop2: -sleep 2000 +sleep 6000 $loop_count = $loop_count + 1 if $loop_count == 20 then