diff --git a/tests/script/tsim/stream/distributeInterval0.sim b/tests/script/tsim/stream/distributeInterval0.sim index 1cec299ccd1b8f0d0af8f9153e6a6c74ec610c4c..2dd645f3a28b06b3d9ef217b03dcc98a2be38de2 100644 --- a/tests/script/tsim/stream/distributeInterval0.sim +++ b/tests/script/tsim/stream/distributeInterval0.sim @@ -66,7 +66,7 @@ if $loop_count == 10 then return -1 endi -sleep 300 +sleep 1000 print 1 select * from streamtST1; sql select * from streamtST1; @@ -97,7 +97,7 @@ if $loop_count == 10 then return -1 endi -sleep 300 +sleep 20000 print 2 select * from streamtST1; sql select * from streamtST1; @@ -136,7 +136,7 @@ if $loop_count == 10 then return -1 endi -sleep 300 +sleep 2000 print 3 select * from streamtST1; sql select * from streamtST1; @@ -175,7 +175,7 @@ if $loop_count == 10 then return -1 endi -sleep 300 +sleep 2000 print 4 select * from streamtST1; sql select * from streamtST1; @@ -215,7 +215,7 @@ if $loop_count == 10 then return -1 endi -sleep 300 +sleep 2000 print 5 select * from streamtST1; sql select * from streamtST1; @@ -262,7 +262,7 @@ if $loop_count == 10 then return -1 endi -sleep 300 +sleep 2000 print 6 select * from streamtST1; sql select * from streamtST1; @@ -296,7 +296,7 @@ sql insert into ts3 values(1648791243006,4,2,3,3.1) (1648791213001,1,52,13,1.0) $loop_count = 0 loop1: -sleep 300 +sleep 2000 sql select * from streamtST1; $loop_count = $loop_count + 1 @@ -427,7 +427,7 @@ $loop_count = 0 loop2: sql select * from streamtST1; -sleep 300 +sleep 2000 $loop_count = $loop_count + 1 if $loop_count == 10 then return -1 @@ -466,7 +466,7 @@ $loop_count = 0 loop3: sql select * from streamtST3; -sleep 300 +sleep 2000 $loop_count = $loop_count + 1 if $loop_count == 10 then return -1 @@ -532,7 +532,7 @@ sql insert into ddd values(1648791226003,2,2,"/a6/aa/aa"); $loop_count = 0 loop4: -sleep 200 +sleep 2000 $loop_count = $loop_count + 1 if $loop_count == 20 then @@ -550,7 +550,7 @@ sql delete from aaa where ts = 1648791223003 ; $loop_count = 0 loop5: -sleep 200 +sleep 2000 $loop_count = $loop_count + 1 if $loop_count == 20 then @@ -569,7 +569,7 @@ sql delete from ccc; $loop_count = 0 loop6: -sleep 200 +sleep 20000 $loop_count = $loop_count + 1 if $loop_count == 20 then @@ -587,7 +587,7 @@ sql delete from ddd; $loop_count = 0 loop7: -sleep 200 +sleep 20000 $loop_count = $loop_count + 1 if $loop_count == 20 then diff --git a/tests/script/tsim/stream/session1.sim b/tests/script/tsim/stream/session1.sim index 3ad7c6f04ed4bb63878bb3a3503b75e089e08e9f..8d9008f772d4c8e9964ec85846edc5e30c72ded4 100644 --- a/tests/script/tsim/stream/session1.sim +++ b/tests/script/tsim/stream/session1.sim @@ -1,5 +1,5 @@ system sh/stop_dnodes.sh -system sh/deploy.sh -n dnode1 -i 1 +system sh/deploy.sh -n dnode1 -i 1 -v debugFlag 135 system sh/exec.sh -n dnode1 -s start sleep 50 sql connect @@ -22,7 +22,7 @@ sql insert into t1 values(1648791210000,1,1,1,1.1,1); sql insert into t1 values(1648791220000,2,2,2,2.1,2); sql insert into t1 values(1648791230000,3,3,3,3.1,3); sql insert into t1 values(1648791240000,4,4,4,4.1,4); -sleep 300 +sleep 1000 sql select * from streamt order by s desc; # row 0 @@ -50,7 +50,7 @@ sql insert into t1 values(1648791250005,5,5,5,5.1,5); sql insert into t1 values(1648791260006,6,6,6,6.1,6); sql insert into t1 values(1648791270007,7,7,7,7.1,7); sql insert into t1 values(1648791240005,5,5,5,5.1,8) (1648791250006,6,6,6,6.1,9); -sleep 300 +sleep 1000 sql select * from streamt order by s desc; # row 0 @@ -100,7 +100,7 @@ sql insert into t1 values(1648791260007,7,7,7,7.1,12) (1648791290008,7,7,7,7.1,1 sql insert into t1 values(1648791500000,7,7,7,7.1,15) (1648791520000,8,8,8,8.1,16) (1648791540000,8,8,8,8.1,17); sql insert into t1 values(1648791530000,8,8,8,8.1,18); sql insert into t1 values(1648791220000,10,10,10,10.1,19) (1648791290008,2,2,2,2.1,20) (1648791540000,17,17,17,17.1,21) (1648791500001,22,22,22,22.1,22); -sleep 300 +sleep 1000 sql select * from streamt order by s desc; # row 0 @@ -188,7 +188,7 @@ if $data34 != 19 then endi sql insert into t1 values(1648791000000,1,1,1,1.1,23); -sleep 300 +sleep 1000 sql select * from streamt order by s desc; # row 0 @@ -241,7 +241,7 @@ sql insert into t1 values(1648791213000,2,2,3,1.0); $loop_count = 0 loop15: -sleep 200 +sleep 1000 sql select * from streamt3; $loop_count = $loop_count + 1 @@ -261,7 +261,7 @@ sql insert into t1 values(1648791233000,10,2,3,1.0); $loop_count = 0 loop16: -sleep 200 +sleep 1000 sql select * from streamt3; $loop_count = $loop_count + 1 @@ -278,7 +278,7 @@ sql insert into t1 values(1648791233000,2,2,3,1.0); $loop_count = 0 loop17: -sleep 200 +sleep 1000 sql select * from streamt3; $loop_count = $loop_count + 1 diff --git a/tests/script/tsim/stream/sliding.sim b/tests/script/tsim/stream/sliding.sim index e12e3c6686c3d35924f43c1675134ba9a0bff65c..b7069da2de480803d0ec7fb95ee6c4dff4ddb3fc 100644 --- a/tests/script/tsim/stream/sliding.sim +++ b/tests/script/tsim/stream/sliding.sim @@ -41,7 +41,7 @@ sql insert into t2 values(1648791220000,3,2,3,2.1); $loop_count = 0 loop0: -sleep 300 +sleep 2000 $loop_count = $loop_count + 1 if $loop_count == 10 then @@ -247,7 +247,7 @@ sql insert into t1 values(1648791216001,2,2,3,1.1); $loop_count = 0 loop00: -sleep 300 +sleep 2000 $loop_count = $loop_count + 1 if $loop_count == 10 then @@ -327,7 +327,7 @@ sql insert into t2 values(1648791213004,4,2,3,4.1); $loop_count = 0 loop1: -sleep 300 +sleep 2000 $loop_count = $loop_count + 1 if $loop_count == 10 then @@ -461,7 +461,7 @@ sql insert into t2 values(1648791213004,4,10,10,4.1); $loop_count = 0 loop2: -sleep 200 +sleep 2000 $loop_count = $loop_count + 1 if $loop_count == 10 then @@ -519,7 +519,7 @@ print step 6 $loop_count = 0 loop3: -sleep 300 +sleep 2000 $loop_count = $loop_count + 1 if $loop_count == 10 then @@ -622,7 +622,7 @@ sql insert into t1 values(1648791343003,4,4,4,3.1); sql insert into t1 values(1648791213004,4,5,5,4.1); loop5: -sleep 200 +sleep 2000 $loop_count = $loop_count + 1 if $loop_count == 10 then