Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
697ab1c7
T
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1185
Star
22016
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看板
提交
697ab1c7
编写于
7月 15, 2022
作者:
S
Shengliang Guan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
test: restore some cases
上级
590f7c4c
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
47 addition
and
47 deletion
+47
-47
tests/script/jenkins/basic.txt
tests/script/jenkins/basic.txt
+2
-2
tests/script/tsim/compute/block_dist.sim
tests/script/tsim/compute/block_dist.sim
+5
-4
tests/script/tsim/qnode/basic1.sim
tests/script/tsim/qnode/basic1.sim
+20
-21
tests/script/tsim/snode/basic1.sim
tests/script/tsim/snode/basic1.sim
+20
-20
未找到文件。
tests/script/jenkins/basic.txt
浏览文件 @
697ab1c7
...
...
@@ -205,7 +205,7 @@
./test.sh -f tsim/qnode/basic1.sim
# ---- snode
# ./test.sh -f tsim/snode/basic1.sim
#
unsupport
./test.sh -f tsim/snode/basic1.sim
# ---- bnode
./test.sh -f tsim/bnode/basic1.sim
...
...
@@ -382,7 +382,7 @@
# ---- compute
./test.sh -f tsim/compute/avg.sim
# jira
./test.sh -f tsim/compute/block_dist.sim
./test.sh -f tsim/compute/block_dist.sim
./test.sh -f tsim/compute/bottom.sim
./test.sh -f tsim/compute/count.sim
./test.sh -f tsim/compute/diff.sim
...
...
tests/script/tsim/compute/block_dist.sim
浏览文件 @
697ab1c7
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c debugflag -v 131
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
@@ -80,11 +81,11 @@ $nt = $ntPrefix . $i
#sql select _block_dist() from $nt
print show table distributed $nt
sql show table distributed $nt
sql
_error
show table distributed $nt
if $rows == 0 then
return -1
endi
#
if $rows == 0 then
#
return -1
#
endi
print ============== TD-5998
sql_error select _block_dist() from (select * from $nt)
...
...
tests/script/tsim/qnode/basic1.sim
浏览文件 @
697ab1c7
...
...
@@ -6,32 +6,32 @@ system sh/exec.sh -n dnode2 -s start
sql connect
print =============== show dnodes
sql show dnodes;
if $rows != 1 then
return -1
endi
if $data00 != 1 then
return -1
endi
sql create dnode $hostname port 7200
sql show mnodes;
if $rows != 1 then
$x = 0
step1:
$x = $x + 1
sleep 1000
if $x == 10 then
print ====> dnode not ready!
return -1
endi
sql show dnodes
print ===> $data00 $data01 $data02 $data03 $data04 $data05
print ===> $data10 $data11 $data12 $data13 $data14 $data15
print ===> $data20 $data21 $data22 $data23 $data24 $data25
print ===> $data30 $data31 $data32 $data33 $data34 $data35
if $rows != 2 then
return -1
endi
if $data00 != 1 then
return -1
if $data(1)[4] != ready then
goto step1
endi
if $data02 != leader then
return -1
if $data(2)[4] != ready then
goto step1
endi
print =============== create dnodes
sql create dnode $hostname port 7200
sleep 2000
print =============== show dnodes
sql show dnodes;
if $rows != 2 then
return -1
...
...
@@ -125,7 +125,6 @@ system sh/exec.sh -n dnode2 -s stop -x SIGINT
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode2 -s start
sleep 2000
sql show qnodes
if $rows != 2 then
return -1
...
...
tests/script/tsim/snode/basic1.sim
浏览文件 @
697ab1c7
...
...
@@ -6,32 +6,32 @@ system sh/exec.sh -n dnode2 -s start
sql connect
print =============== show dnodes
sql show dnodes;
if $rows != 1 then
return -1
endi
sql create dnode $hostname port 7200
if $data00 != 1 then
$x = 0
step1:
$x = $x + 1
sleep 1000
if $x == 10 then
print ====> dnode not ready!
return -1
endi
sql show dnodes
print ===> $data00 $data01 $data02 $data03 $data04 $data05
print ===> $data10 $data11 $data12 $data13 $data14 $data15
print ===> $data20 $data21 $data22 $data23 $data24 $data25
print ===> $data30 $data31 $data32 $data33 $data34 $data35
if $rows != 2 then
return -1
endi
sql show mnodes;
if $rows != 1 then
return -1
if $data(1)[4] != ready then
goto step1
endi
if $data00 != 1 then
return -1
endi
if $data02 != leader then
return -1
if $data(2)[4] != ready then
goto step1
endi
print =============== create dnodes
sql create dnode $hostname port 7200
sleep 2000
print =============== show dnodes
sql show dnodes;
if $rows != 2 then
return -1
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录