From e151b3df89889c5e6b2addfc4f2592115ebd0832 Mon Sep 17 00:00:00 2001 From: liuyao <54liuyao@163.com> Date: Thu, 26 Oct 2023 15:45:40 +0800 Subject: [PATCH] opt ci --- .../script/tsim/stream/fillIntervalRange.sim | 2 +- tests/script/tsim/stream/windowClose.sim | 38 +++++++++++++++++-- 2 files changed, 35 insertions(+), 5 deletions(-) diff --git a/tests/script/tsim/stream/fillIntervalRange.sim b/tests/script/tsim/stream/fillIntervalRange.sim index 99c1fe8ad4..e5316e6a1e 100644 --- a/tests/script/tsim/stream/fillIntervalRange.sim +++ b/tests/script/tsim/stream/fillIntervalRange.sim @@ -64,7 +64,7 @@ endi sql select count(*) from streamt; if $data00 != 9098 then - print =====rows=$rows + print =====data00=$data00 goto loop1 endi diff --git a/tests/script/tsim/stream/windowClose.sim b/tests/script/tsim/stream/windowClose.sim index 7539164f0c..67678963ea 100644 --- a/tests/script/tsim/stream/windowClose.sim +++ b/tests/script/tsim/stream/windowClose.sim @@ -168,8 +168,8 @@ $now02 = $data02 $now12 = $data12 -print step1 max delay 2s......... sleep 5s -sleep 5000 +print step1 max delay 2s......... sleep 3s +sleep 3000 sql select * from streamt13; @@ -230,8 +230,38 @@ $now12 = $data12 $now22 = $data22 $now32 = $data32 -print step2 max delay 2s......... sleep 5s -sleep 5000 +print step2 max delay 2s......... sleep 3s +sleep 3000 + +sql select * from streamt14 order by 2; +print $data00 $data01 $data02 +print $data10 $data11 $data12 +print $data20 $data21 $data22 +print $data30 $data31 $data32 + + +if $data02 != $now02 then + print ======data02=$data02 + return -1 +endi + +if $data12 != $now12 then + print ======data12=$data12 + return -1 +endi + +if $data22 != $now22 then + print ======data22=$data22 + return -1 +endi + +if $data32 != $now32 then + print ======data32=$data32 + return -1 +endi + +print step2 max delay 2s......... sleep 3s +sleep 3000 sql select * from streamt14 order by 2; print $data00 $data01 $data02