提交 4b59297c 编写于 作者: 5 54liuyao

increase sleep time

上级 ffa25ddd
...@@ -22,11 +22,20 @@ sql create stream stream1 trigger window_close into streamt as select _wstart, ...@@ -22,11 +22,20 @@ sql create stream stream1 trigger window_close into streamt as select _wstart,
sql insert into tu1 values(now, 1); sql insert into tu1 values(now, 1);
sleep 500 $loop_count = 0
loop0:
sleep 1000
$loop_count = $loop_count + 1
if $loop_count == 10 then
return -1
endi
sql select * from streamt; sql select * from streamt;
if $rows != 0 then if $rows != 0 then
print ======$rows print ======$rows
return -1 goto loop0
endi endi
...@@ -57,10 +66,10 @@ $loop_count = 0 ...@@ -57,10 +66,10 @@ $loop_count = 0
loop1: loop1:
sleep 200 sleep 1000
$loop_count = $loop_count + 1 $loop_count = $loop_count + 1
if $loop_count == 10 then if $loop_count == 20 then
return -1 return -1
endi endi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册