Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
bfb2900c
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看板
提交
bfb2900c
编写于
7月 14, 2022
作者:
S
Shengliang Guan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
test: restore some 2.0 case
上级
68ced452
变更
24
显示空白变更内容
内联
并排
Showing
24 changed file
with
21 addition
and
112 deletion
+21
-112
tests/script/tsim/table/autocreate.sim
tests/script/tsim/table/autocreate.sim
+0
-1
tests/script/tsim/table/basic2.sim
tests/script/tsim/table/basic2.sim
+0
-1
tests/script/tsim/table/basic3.sim
tests/script/tsim/table/basic3.sim
+1
-2
tests/script/tsim/table/bigint.sim
tests/script/tsim/table/bigint.sim
+1
-4
tests/script/tsim/table/binary.sim
tests/script/tsim/table/binary.sim
+1
-4
tests/script/tsim/table/bool.sim
tests/script/tsim/table/bool.sim
+1
-4
tests/script/tsim/table/column2.sim
tests/script/tsim/table/column2.sim
+1
-4
tests/script/tsim/table/column_name.sim
tests/script/tsim/table/column_name.sim
+1
-4
tests/script/tsim/table/column_num.sim
tests/script/tsim/table/column_num.sim
+1
-4
tests/script/tsim/table/column_value.sim
tests/script/tsim/table/column_value.sim
+1
-4
tests/script/tsim/table/createmulti.sim
tests/script/tsim/table/createmulti.sim
+0
-1
tests/script/tsim/table/date.sim
tests/script/tsim/table/date.sim
+1
-4
tests/script/tsim/table/db.table.sim
tests/script/tsim/table/db.table.sim
+1
-4
tests/script/tsim/table/describe.sim
tests/script/tsim/table/describe.sim
+1
-4
tests/script/tsim/table/double.sim
tests/script/tsim/table/double.sim
+1
-4
tests/script/tsim/table/float.sim
tests/script/tsim/table/float.sim
+1
-4
tests/script/tsim/table/int.sim
tests/script/tsim/table/int.sim
+1
-4
tests/script/tsim/table/limit.sim
tests/script/tsim/table/limit.sim
+1
-6
tests/script/tsim/table/smallint.sim
tests/script/tsim/table/smallint.sim
+1
-4
tests/script/tsim/table/table.sim
tests/script/tsim/table/table.sim
+1
-4
tests/script/tsim/table/table_len.sim
tests/script/tsim/table/table_len.sim
+1
-4
tests/script/tsim/table/testSuite.sim
tests/script/tsim/table/testSuite.sim
+0
-27
tests/script/tsim/table/tinyint.sim
tests/script/tsim/table/tinyint.sim
+1
-4
tests/script/tsim/table/vgroup.sim
tests/script/tsim/table/vgroup.sim
+2
-6
未找到文件。
tests/script/tsim/table/autocreate.sim
浏览文件 @
bfb2900c
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/exec.sh -n dnode1 -s start
sleep 2000
sql connect
print =============== create database
...
...
tests/script/tsim/table/basic2.sim
浏览文件 @
bfb2900c
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/exec.sh -n dnode1 -s start
sleep 2000
sql connect
print =============== one table
...
...
tests/script/tsim/table/basic3.sim
浏览文件 @
bfb2900c
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/exec.sh -n dnode1 -s start
sleep 2000
sql connect
print =============== create database
...
...
@@ -73,7 +72,7 @@ endi
print =============== drop stable
sql drop table db.st
sql show db.stables
if $rows !=
0
then
if $rows !=
2
then
return -1
endi
...
...
tests/script/tsim/table/bigint.sim
浏览文件 @
bfb2900c
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/exec.sh -n dnode1 -s start
sleep 2000
sql connect
$i = 0
...
...
@@ -66,7 +63,7 @@ endi
sql drop database $db
sql show databases
if $rows !=
0
then
if $rows !=
2
then
return -1
endi
...
...
tests/script/tsim/table/binary.sim
浏览文件 @
bfb2900c
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/exec.sh -n dnode1 -s start
sleep 2000
sql connect
$i = 0
...
...
@@ -56,7 +53,7 @@ endi
sql drop database $db
sql show databases
if $rows !=
0
then
if $rows !=
2
then
return -1
endi
...
...
tests/script/tsim/table/bool.sim
浏览文件 @
bfb2900c
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/exec.sh -n dnode1 -s start
sleep 2000
sql connect
$i = 0
...
...
@@ -85,7 +82,7 @@ endi
sql drop database $db
sql show databases
if $rows !=
0
then
if $rows !=
2
then
return -1
endi
...
...
tests/script/tsim/table/column2.sim
浏览文件 @
bfb2900c
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/exec.sh -n dnode1 -s start
sleep 2000
sql connect
print =============== step1
...
...
@@ -19,7 +16,7 @@ endi
sql drop database db
sql show databases
if $rows !=
0
then
if $rows !=
2
then
return -1
endi
...
...
tests/script/tsim/table/column_name.sim
浏览文件 @
bfb2900c
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/exec.sh -n dnode1 -s start
sleep 2000
sql connect
$i = 0
...
...
@@ -79,7 +76,7 @@ endi
sql drop database $db
sql show databases
if $rows !=
0
then
if $rows !=
2
then
return -1
endi
...
...
tests/script/tsim/table/column_num.sim
浏览文件 @
bfb2900c
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/exec.sh -n dnode1 -s start
sleep 2000
sql connect
$i = 0
...
...
@@ -78,7 +75,7 @@ endi
sql drop database $db
sql show databases
if $rows !=
0
then
if $rows !=
2
then
return -1
endi
...
...
tests/script/tsim/table/column_value.sim
浏览文件 @
bfb2900c
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/exec.sh -n dnode1 -s start
sleep 2000
sql connect
$i = 0
...
...
@@ -68,7 +65,7 @@ endi
sql drop database $db
sql show databases
if $rows !=
0
then
if $rows !=
2
then
return -1
endi
...
...
tests/script/tsim/table/createmulti.sim
浏览文件 @
bfb2900c
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/exec.sh -n dnode1 -s start
sleep 3000
sql connect
print =============== create database
...
...
tests/script/tsim/table/date.sim
浏览文件 @
bfb2900c
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/exec.sh -n dnode1 -s start
sleep 2000
sql connect
$i = 0
...
...
@@ -83,7 +80,7 @@ endi
sql drop database $db
sql show databases
if $rows !=
0
then
if $rows !=
2
then
return -1
endi
...
...
tests/script/tsim/table/db.table.sim
浏览文件 @
bfb2900c
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/exec.sh -n dnode1 -s start
sleep 2000
sql connect
$i = 0
...
...
@@ -40,7 +37,7 @@ sql drop table $table
sql drop database $db
sql show databases
if $rows !=
0
then
if $rows !=
2
then
return -1
endi
...
...
tests/script/tsim/table/describe.sim
浏览文件 @
bfb2900c
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/exec.sh -n dnode1 -s start
sleep 2000
sql connect
$i = 0
...
...
@@ -42,7 +39,7 @@ endi
sql drop database $db
sql show databases
if $rows !=
0
then
if $rows !=
2
then
return -1
endi
...
...
tests/script/tsim/table/double.sim
浏览文件 @
bfb2900c
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/exec.sh -n dnode1 -s start
sleep 2000
sql connect
$i = 0
...
...
@@ -91,7 +88,7 @@ endi
sql drop database $db
sql show databases
if $rows !=
0
then
if $rows !=
2
then
return -1
endi
...
...
tests/script/tsim/table/float.sim
浏览文件 @
bfb2900c
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/exec.sh -n dnode1 -s start
sleep 2000
sql connect
$i = 0
...
...
@@ -91,7 +88,7 @@ endi
sql drop database $db
sql show databases
if $rows !=
0
then
if $rows !=
2
then
return -1
endi
...
...
tests/script/tsim/table/int.sim
浏览文件 @
bfb2900c
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/exec.sh -n dnode1 -s start
sleep 2000
sql connect
$i = 0
...
...
@@ -127,7 +124,7 @@ endi
sql drop database $db
sql show databases
if $rows !=
0
then
if $rows !=
2
then
return -1
endi
...
...
tests/script/tsim/table/limit.sim
浏览文件 @
bfb2900c
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 129
system sh/cfg.sh -n dnode1 -c maxVgroupsPerDb -v 8
system sh/exec.sh -n dnode1 -s start
sleep 2000
sql connect
print ============================ dnode1 start
...
...
@@ -87,7 +82,7 @@ endi
sql drop database $db
sql show databases
if $rows !=
0
then
if $rows !=
2
then
return -1
endi
...
...
tests/script/tsim/table/smallint.sim
浏览文件 @
bfb2900c
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/exec.sh -n dnode1 -s start
sleep 2000
sql connect
$i = 0
...
...
@@ -98,7 +95,7 @@ endi
sql drop database $db
sql show databases
if $rows !=
0
then
if $rows !=
2
then
return -1
endi
...
...
tests/script/tsim/table/table.sim
浏览文件 @
bfb2900c
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/exec.sh -n dnode1 -s start
sleep 2000
sql connect
print ============================ dnode1 start
...
...
@@ -217,7 +214,7 @@ endi
sql drop database $db
sql show databases
if $rows !=
0
then
if $rows !=
2
then
return -1
endi
...
...
tests/script/tsim/table/table_len.sim
浏览文件 @
bfb2900c
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/exec.sh -n dnode1 -s start
sleep 2000
sql connect
$i = 0
...
...
@@ -98,7 +95,7 @@ step8:
sql drop database $db
sql show databases
if $rows !=
0
then
if $rows !=
2
then
return -1
endi
...
...
tests/script/tsim/table/testSuite.sim
已删除
100644 → 0
浏览文件 @
68ced452
run general/table/autocreate.sim
run general/table/basic1.sim
run general/table/basic2.sim
run general/table/basic3.sim
run general/table/bigint.sim
run general/table/binary.sim
run general/table/bool.sim
run general/table/column_name.sim
run general/table/column_num.sim
run general/table/column_value.sim
run general/table/column2.sim
run general/table/date.sim
run general/table/db.table.sim
run general/table/delete_reuse1.sim
run general/table/delete_reuse2.sim
run general/table/delete_writing.sim
run general/table/describe.sim
run general/table/double.sim
run general/table/fill.sim
run general/table/float.sim
run general/table/int.sim
run general/table/limit.sim
run general/table/smallint.sim
run general/table/table_len.sim
run general/table/table.sim
run general/table/tinyint.sim
run general/table/vgroup.sim
tests/script/tsim/table/tinyint.sim
浏览文件 @
bfb2900c
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/exec.sh -n dnode1 -s start
sleep 2000
sql connect
$i = 0
...
...
@@ -97,7 +94,7 @@ endi
sql drop database $db
sql show databases
if $rows !=
0
then
if $rows !=
2
then
return -1
endi
...
...
tests/script/tsim/table/vgroup.sim
浏览文件 @
bfb2900c
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/cfg.sh -n dnode1 -c maxVgroupsPerDb -v 4
system sh/cfg.sh -n dnode1 -c maxTablesPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sleep 2000
sql connect
print ============================ dnode1 start
$i = 0
...
...
@@ -144,7 +140,7 @@ while $i < 5
$i = $i + 1
endw
sql show databases
if $rows !=
0
then
if $rows !=
2
then
return -1
endi
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录