increase sleep time

This commit is contained in:
54liuyao 2023-04-19 10:36:16 +08:00
parent ffa25ddd92
commit 4b59297c66
1 changed files with 13 additions and 4 deletions

View File

@ -22,11 +22,20 @@ sql create stream stream1 trigger window_close into streamt as select _wstart,
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;
if $rows != 0 then
print ======$rows
return -1
goto loop0
endi
@ -57,10 +66,10 @@ $loop_count = 0
loop1:
sleep 200
sleep 1000
$loop_count = $loop_count + 1
if $loop_count == 10 then
if $loop_count == 20 then
return -1
endi