Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
fd32d563
T
TDengine
项目概览
taosdata
/
TDengine
大约 1 年 前同步成功
通知
1184
Star
22015
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
fd32d563
编写于
4月 18, 2023
作者:
dengyihao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix compile error
上级
1f3c8c3d
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
27 addition
and
27 deletion
+27
-27
tests/script/tsim/stream/distributeInterval0.sim
tests/script/tsim/stream/distributeInterval0.sim
+13
-13
tests/script/tsim/stream/session1.sim
tests/script/tsim/stream/session1.sim
+8
-8
tests/script/tsim/stream/sliding.sim
tests/script/tsim/stream/sliding.sim
+6
-6
未找到文件。
tests/script/tsim/stream/distributeInterval0.sim
浏览文件 @
fd32d563
...
@@ -66,7 +66,7 @@ if $loop_count == 10 then
...
@@ -66,7 +66,7 @@ if $loop_count == 10 then
return -1
return -1
endi
endi
sleep
3
00
sleep
10
00
print 1 select * from streamtST1;
print 1 select * from streamtST1;
sql select * from streamtST1;
sql select * from streamtST1;
...
@@ -97,7 +97,7 @@ if $loop_count == 10 then
...
@@ -97,7 +97,7 @@ if $loop_count == 10 then
return -1
return -1
endi
endi
sleep
3
00
sleep
200
00
print 2 select * from streamtST1;
print 2 select * from streamtST1;
sql select * from streamtST1;
sql select * from streamtST1;
...
@@ -136,7 +136,7 @@ if $loop_count == 10 then
...
@@ -136,7 +136,7 @@ if $loop_count == 10 then
return -1
return -1
endi
endi
sleep
3
00
sleep
20
00
print 3 select * from streamtST1;
print 3 select * from streamtST1;
sql select * from streamtST1;
sql select * from streamtST1;
...
@@ -175,7 +175,7 @@ if $loop_count == 10 then
...
@@ -175,7 +175,7 @@ if $loop_count == 10 then
return -1
return -1
endi
endi
sleep
3
00
sleep
20
00
print 4 select * from streamtST1;
print 4 select * from streamtST1;
sql select * from streamtST1;
sql select * from streamtST1;
...
@@ -215,7 +215,7 @@ if $loop_count == 10 then
...
@@ -215,7 +215,7 @@ if $loop_count == 10 then
return -1
return -1
endi
endi
sleep
3
00
sleep
20
00
print 5 select * from streamtST1;
print 5 select * from streamtST1;
sql select * from streamtST1;
sql select * from streamtST1;
...
@@ -262,7 +262,7 @@ if $loop_count == 10 then
...
@@ -262,7 +262,7 @@ if $loop_count == 10 then
return -1
return -1
endi
endi
sleep
3
00
sleep
20
00
print 6 select * from streamtST1;
print 6 select * from streamtST1;
sql 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)
...
@@ -296,7 +296,7 @@ sql insert into ts3 values(1648791243006,4,2,3,3.1) (1648791213001,1,52,13,1.0)
$loop_count = 0
$loop_count = 0
loop1:
loop1:
sleep
3
00
sleep
20
00
sql select * from streamtST1;
sql select * from streamtST1;
$loop_count = $loop_count + 1
$loop_count = $loop_count + 1
...
@@ -427,7 +427,7 @@ $loop_count = 0
...
@@ -427,7 +427,7 @@ $loop_count = 0
loop2:
loop2:
sql select * from streamtST1;
sql select * from streamtST1;
sleep
3
00
sleep
20
00
$loop_count = $loop_count + 1
$loop_count = $loop_count + 1
if $loop_count == 10 then
if $loop_count == 10 then
return -1
return -1
...
@@ -466,7 +466,7 @@ $loop_count = 0
...
@@ -466,7 +466,7 @@ $loop_count = 0
loop3:
loop3:
sql select * from streamtST3;
sql select * from streamtST3;
sleep
3
00
sleep
20
00
$loop_count = $loop_count + 1
$loop_count = $loop_count + 1
if $loop_count == 10 then
if $loop_count == 10 then
return -1
return -1
...
@@ -532,7 +532,7 @@ sql insert into ddd values(1648791226003,2,2,"/a6/aa/aa");
...
@@ -532,7 +532,7 @@ sql insert into ddd values(1648791226003,2,2,"/a6/aa/aa");
$loop_count = 0
$loop_count = 0
loop4:
loop4:
sleep 200
sleep 200
0
$loop_count = $loop_count + 1
$loop_count = $loop_count + 1
if $loop_count == 20 then
if $loop_count == 20 then
...
@@ -550,7 +550,7 @@ sql delete from aaa where ts = 1648791223003 ;
...
@@ -550,7 +550,7 @@ sql delete from aaa where ts = 1648791223003 ;
$loop_count = 0
$loop_count = 0
loop5:
loop5:
sleep 200
sleep 200
0
$loop_count = $loop_count + 1
$loop_count = $loop_count + 1
if $loop_count == 20 then
if $loop_count == 20 then
...
@@ -569,7 +569,7 @@ sql delete from ccc;
...
@@ -569,7 +569,7 @@ sql delete from ccc;
$loop_count = 0
$loop_count = 0
loop6:
loop6:
sleep 200
sleep 200
00
$loop_count = $loop_count + 1
$loop_count = $loop_count + 1
if $loop_count == 20 then
if $loop_count == 20 then
...
@@ -587,7 +587,7 @@ sql delete from ddd;
...
@@ -587,7 +587,7 @@ sql delete from ddd;
$loop_count = 0
$loop_count = 0
loop7:
loop7:
sleep 200
sleep 200
00
$loop_count = $loop_count + 1
$loop_count = $loop_count + 1
if $loop_count == 20 then
if $loop_count == 20 then
...
...
tests/script/tsim/stream/session1.sim
浏览文件 @
fd32d563
system sh/stop_dnodes.sh
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
system sh/exec.sh -n dnode1 -s start
sleep 50
sleep 50
sql connect
sql connect
...
@@ -22,7 +22,7 @@ sql insert into t1 values(1648791210000,1,1,1,1.1,1);
...
@@ -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(1648791220000,2,2,2,2.1,2);
sql insert into t1 values(1648791230000,3,3,3,3.1,3);
sql insert into t1 values(1648791230000,3,3,3,3.1,3);
sql insert into t1 values(1648791240000,4,4,4,4.1,4);
sql insert into t1 values(1648791240000,4,4,4,4.1,4);
sleep
3
00
sleep
10
00
sql select * from streamt order by s desc;
sql select * from streamt order by s desc;
# row 0
# row 0
...
@@ -50,7 +50,7 @@ sql insert into t1 values(1648791250005,5,5,5,5.1,5);
...
@@ -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(1648791260006,6,6,6,6.1,6);
sql insert into t1 values(1648791270007,7,7,7,7.1,7);
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);
sql insert into t1 values(1648791240005,5,5,5,5.1,8) (1648791250006,6,6,6,6.1,9);
sleep
3
00
sleep
10
00
sql select * from streamt order by s desc;
sql select * from streamt order by s desc;
# row 0
# 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
...
@@ -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(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(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);
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
3
00
sleep
10
00
sql select * from streamt order by s desc;
sql select * from streamt order by s desc;
# row 0
# row 0
...
@@ -188,7 +188,7 @@ if $data34 != 19 then
...
@@ -188,7 +188,7 @@ if $data34 != 19 then
endi
endi
sql insert into t1 values(1648791000000,1,1,1,1.1,23);
sql insert into t1 values(1648791000000,1,1,1,1.1,23);
sleep
3
00
sleep
10
00
sql select * from streamt order by s desc;
sql select * from streamt order by s desc;
# row 0
# row 0
...
@@ -241,7 +241,7 @@ sql insert into t1 values(1648791213000,2,2,3,1.0);
...
@@ -241,7 +241,7 @@ sql insert into t1 values(1648791213000,2,2,3,1.0);
$loop_count = 0
$loop_count = 0
loop15:
loop15:
sleep
2
00
sleep
10
00
sql select * from streamt3;
sql select * from streamt3;
$loop_count = $loop_count + 1
$loop_count = $loop_count + 1
...
@@ -261,7 +261,7 @@ sql insert into t1 values(1648791233000,10,2,3,1.0);
...
@@ -261,7 +261,7 @@ sql insert into t1 values(1648791233000,10,2,3,1.0);
$loop_count = 0
$loop_count = 0
loop16:
loop16:
sleep
2
00
sleep
10
00
sql select * from streamt3;
sql select * from streamt3;
$loop_count = $loop_count + 1
$loop_count = $loop_count + 1
...
@@ -278,7 +278,7 @@ sql insert into t1 values(1648791233000,2,2,3,1.0);
...
@@ -278,7 +278,7 @@ sql insert into t1 values(1648791233000,2,2,3,1.0);
$loop_count = 0
$loop_count = 0
loop17:
loop17:
sleep
2
00
sleep
10
00
sql select * from streamt3;
sql select * from streamt3;
$loop_count = $loop_count + 1
$loop_count = $loop_count + 1
...
...
tests/script/tsim/stream/sliding.sim
浏览文件 @
fd32d563
...
@@ -41,7 +41,7 @@ sql insert into t2 values(1648791220000,3,2,3,2.1);
...
@@ -41,7 +41,7 @@ sql insert into t2 values(1648791220000,3,2,3,2.1);
$loop_count = 0
$loop_count = 0
loop0:
loop0:
sleep
3
00
sleep
20
00
$loop_count = $loop_count + 1
$loop_count = $loop_count + 1
if $loop_count == 10 then
if $loop_count == 10 then
...
@@ -247,7 +247,7 @@ sql insert into t1 values(1648791216001,2,2,3,1.1);
...
@@ -247,7 +247,7 @@ sql insert into t1 values(1648791216001,2,2,3,1.1);
$loop_count = 0
$loop_count = 0
loop00:
loop00:
sleep
3
00
sleep
20
00
$loop_count = $loop_count + 1
$loop_count = $loop_count + 1
if $loop_count == 10 then
if $loop_count == 10 then
...
@@ -327,7 +327,7 @@ sql insert into t2 values(1648791213004,4,2,3,4.1);
...
@@ -327,7 +327,7 @@ sql insert into t2 values(1648791213004,4,2,3,4.1);
$loop_count = 0
$loop_count = 0
loop1:
loop1:
sleep
3
00
sleep
20
00
$loop_count = $loop_count + 1
$loop_count = $loop_count + 1
if $loop_count == 10 then
if $loop_count == 10 then
...
@@ -461,7 +461,7 @@ sql insert into t2 values(1648791213004,4,10,10,4.1);
...
@@ -461,7 +461,7 @@ sql insert into t2 values(1648791213004,4,10,10,4.1);
$loop_count = 0
$loop_count = 0
loop2:
loop2:
sleep 200
sleep 200
0
$loop_count = $loop_count + 1
$loop_count = $loop_count + 1
if $loop_count == 10 then
if $loop_count == 10 then
...
@@ -519,7 +519,7 @@ print step 6
...
@@ -519,7 +519,7 @@ print step 6
$loop_count = 0
$loop_count = 0
loop3:
loop3:
sleep
3
00
sleep
20
00
$loop_count = $loop_count + 1
$loop_count = $loop_count + 1
if $loop_count == 10 then
if $loop_count == 10 then
...
@@ -622,7 +622,7 @@ sql insert into t1 values(1648791343003,4,4,4,3.1);
...
@@ -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);
sql insert into t1 values(1648791213004,4,5,5,4.1);
loop5:
loop5:
sleep 200
sleep 200
0
$loop_count = $loop_count + 1
$loop_count = $loop_count + 1
if $loop_count == 10 then
if $loop_count == 10 then
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录