Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
dc4e5e61
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看板
提交
dc4e5e61
编写于
7月 14, 2022
作者:
S
Shengliang Guan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
test: restore some 2.0 case
上级
91a59257
变更
16
隐藏空白更改
内联
并排
Showing
16 changed file
with
97 addition
and
258 deletion
+97
-258
tests/script/general/insert/testSuite.sim
tests/script/general/insert/testSuite.sim
+0
-9
tests/script/jenkins/basic.txt
tests/script/jenkins/basic.txt
+12
-3
tests/script/tsim/insert/backquote.sim
tests/script/tsim/insert/backquote.sim
+1
-18
tests/script/tsim/insert/basic.sim
tests/script/tsim/insert/basic.sim
+0
-4
tests/script/tsim/insert/basic0.sim
tests/script/tsim/insert/basic0.sim
+0
-18
tests/script/tsim/insert/basic1.sim
tests/script/tsim/insert/basic1.sim
+1
-18
tests/script/tsim/insert/commit-merge0.sim
tests/script/tsim/insert/commit-merge0.sim
+0
-18
tests/script/tsim/insert/insert_drop.sim
tests/script/tsim/insert/insert_drop.sim
+1
-13
tests/script/tsim/insert/null.sim
tests/script/tsim/insert/null.sim
+72
-92
tests/script/tsim/insert/query_block1_file.sim
tests/script/tsim/insert/query_block1_file.sim
+1
-6
tests/script/tsim/insert/query_block1_memory.sim
tests/script/tsim/insert/query_block1_memory.sim
+1
-6
tests/script/tsim/insert/query_block2_file.sim
tests/script/tsim/insert/query_block2_file.sim
+2
-15
tests/script/tsim/insert/query_block2_memory.sim
tests/script/tsim/insert/query_block2_memory.sim
+1
-6
tests/script/tsim/insert/query_file_memory.sim
tests/script/tsim/insert/query_file_memory.sim
+2
-14
tests/script/tsim/insert/query_multi_file.sim
tests/script/tsim/insert/query_multi_file.sim
+2
-14
tests/script/tsim/insert/tcp.sim
tests/script/tsim/insert/tcp.sim
+1
-4
未找到文件。
tests/script/general/insert/testSuite.sim
已删除
100644 → 0
浏览文件 @
91a59257
run general/insert/basic.sim
run general/insert/insert_drop.sim
run general/insert/query_block1_memory.sim
run general/insert/query_block2_memory.sim
run general/insert/query_block1_file.sim
run general/insert/query_block2_file.sim
run general/insert/query_file_memory.sim
run general/insert/query_multi_file.sim
run general/insert/tcp.sim
tests/script/jenkins/basic.txt
浏览文件 @
dc4e5e61
...
@@ -52,13 +52,22 @@
...
@@ -52,13 +52,22 @@
./test.sh -f tsim/import/replica1.sim
./test.sh -f tsim/import/replica1.sim
# ---- insert
# ---- insert
./test.sh -f tsim/insert/backquote.sim
./test.sh -f tsim/insert/basic.sim
./test.sh -f tsim/insert/basic0.sim
./test.sh -f tsim/insert/basic0.sim
./test.sh -f tsim/insert/basic1.sim
./test.sh -f tsim/insert/basic1.sim
./test.sh -f tsim/insert/backquote.sim
./test.sh -f tsim/insert/null.sim
./test.sh -f tsim/insert/update0.sim
./test.sh -f tsim/insert/commit-merge0.sim
./test.sh -f tsim/insert/commit-merge0.sim
./test.sh -f tsim/insert/insert_drop.sim
./test.sh -f tsim/insert/insert_select.sim
./test.sh -f tsim/insert/insert_select.sim
./test.sh -f tsim/insert/null.sim
./test.sh -f tsim/insert/query_block1_file.sim
./test.sh -f tsim/insert/query_block1_memory.sim
./test.sh -f tsim/insert/query_block2_file.sim
./test.sh -f tsim/insert/query_block2_memory.sim
./test.sh -f tsim/insert/query_file_memory.sim
./test.sh -f tsim/insert/query_multi_file.sim
#./test.sh -f tsim/insert/tcp.sim
./test.sh -f tsim/insert/update0.sim
# ---- parser
# ---- parser
./test.sh -f tsim/parser/groupby-basic.sim
./test.sh -f tsim/parser/groupby-basic.sim
...
...
tests/script/tsim/insert/backquote.sim
浏览文件 @
dc4e5e61
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
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep 50
sql connect
sql connect
print =============== create database
print =============== create database
sql create database `database`
sql create database `database`
sql create database `DataBase`
sql create database `DataBase`
...
@@ -184,23 +184,6 @@ print =============== stop and restart taosd
...
@@ -184,23 +184,6 @@ print =============== stop and restart taosd
system sh/exec.sh -n dnode1 -s stop -x SIGINT
system sh/exec.sh -n dnode1 -s stop -x SIGINT
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
$loop_cnt = 0
check_dnode_ready:
$loop_cnt = $loop_cnt + 1
sleep 200
if $loop_cnt == 10 then
print ====> dnode not ready!
return -1
endi
sql show dnodes
print ===> $rows $data00 $data01 $data02 $data03 $data04 $data05
if $data00 != 1 then
return -1
endi
if $data04 != ready then
goto check_dnode_ready
endi
sql show databases
sql show databases
print rows: $rows
print rows: $rows
print $data00 $data01
print $data00 $data01
...
...
tests/script/
general
/insert/basic.sim
→
tests/script/
tsim
/insert/basic.sim
浏览文件 @
dc4e5e61
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
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep 2000
sql connect
sql connect
$i = 0
$i = 0
...
...
tests/script/tsim/insert/basic0.sim
浏览文件 @
dc4e5e61
...
@@ -283,30 +283,12 @@ endi
...
@@ -283,30 +283,12 @@ endi
# return -1
# return -1
#endi
#endi
#===================================================================
#===================================================================
#===================================================================
print =============== stop and restart taosd, then again do query above
print =============== stop and restart taosd, then again do query above
system sh/exec.sh -n dnode1 -s stop -x SIGINT
system sh/exec.sh -n dnode1 -s stop -x SIGINT
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
$loop_cnt = 0
check_dnode_ready:
$loop_cnt = $loop_cnt + 1
sleep 200
if $loop_cnt == 10 then
print ====> dnode not ready!
return -1
endi
sql show dnodes
print ===> $rows $data00 $data01 $data02 $data03 $data04 $data05
if $data00 != 1 then
return -1
endi
if $data04 != ready then
goto check_dnode_ready
endi
print =============== query data from child table
print =============== query data from child table
sql select * from ct1
sql select * from ct1
print rows: $rows
print rows: $rows
...
...
tests/script/tsim/insert/basic1.sim
浏览文件 @
dc4e5e61
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
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep 50
sql connect
sql connect
print =============== create database
print =============== create database
sql create database d1
sql create database d1
sql show databases
sql show databases
...
@@ -78,23 +78,6 @@ print =============== stop and restart taosd
...
@@ -78,23 +78,6 @@ print =============== stop and restart taosd
system sh/exec.sh -n dnode1 -s stop -x SIGINT
system sh/exec.sh -n dnode1 -s stop -x SIGINT
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
$loop_cnt = 0
check_dnode_ready:
$loop_cnt = $loop_cnt + 1
sleep 200
if $loop_cnt == 10 then
print ====> dnode not ready!
return -1
endi
sql show dnodes
print ===> $rows $data00 $data01 $data02 $data03 $data04 $data05
if $data00 != 1 then
return -1
endi
if $data04 != ready then
goto check_dnode_ready
endi
print =============== query data
print =============== query data
sql select * from c1
sql select * from c1
print rows: $rows
print rows: $rows
...
...
tests/script/tsim/insert/commit-merge0.sim
浏览文件 @
dc4e5e61
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
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep 50
sql connect
sql connect
print =============== create database
print =============== create database
...
@@ -64,23 +63,6 @@ reboot_and_check:
...
@@ -64,23 +63,6 @@ reboot_and_check:
system sh/exec.sh -n dnode1 -s stop -x SIGINT
system sh/exec.sh -n dnode1 -s stop -x SIGINT
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
$loop_cnt = 0
check_dnode_ready:
$loop_cnt = $loop_cnt + 1
sleep 200
if $loop_cnt == 10 then
print ====> dnode not ready!
return -1
endi
sql show dnodes
print ===> $rows $data00 $data01 $data02 $data03 $data04 $data05
if $data00 != 1 then
return -1
endi
if $data04 != ready then
goto check_dnode_ready
endi
print =============== insert duplicated records to memory - loop $reboot_max - $reboot_cnt
print =============== insert duplicated records to memory - loop $reboot_max - $reboot_cnt
sql use db
sql use db
sql insert into ct1 values ('2022-05-01 18:30:27.001', 0.0);
sql insert into ct1 values ('2022-05-01 18:30:27.001', 0.0);
...
...
tests/script/
general
/insert/insert_drop.sim
→
tests/script/
tsim
/insert/insert_drop.sim
浏览文件 @
dc4e5e61
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
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep 2000
sql connect
sql connect
$tbNum = 10
$tbNum = 10
...
@@ -19,7 +15,7 @@ $stb = stb
...
@@ -19,7 +15,7 @@ $stb = stb
sql drop database $db -x step1
sql drop database $db -x step1
step1:
step1:
sql create database $db
ctime 30
sql create database $db
print ====== create tables
print ====== create tables
sql use $db
sql use $db
sql create table $stb (ts timestamp, c1 int) tags(t1 int)
sql create table $stb (ts timestamp, c1 int) tags(t1 int)
...
@@ -43,13 +39,9 @@ print ====== tables created
...
@@ -43,13 +39,9 @@ print ====== tables created
print ================== restart server to commit data into disk
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep 3000
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
print ================== server restart completed
sql reset query cache
sleep 1000
sql use $db
sql use $db
sql drop table tb5
sql drop table tb5
$i = 0
$i = 0
...
@@ -69,13 +61,9 @@ endw
...
@@ -69,13 +61,9 @@ endw
print ================== restart server to commit data into disk
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep 3000
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
print ================== server restart completed
sql reset query cache
sleep 1000
sql use $db
sql use $db
sql create table tb5 using $stb tags(5)
sql create table tb5 using $stb tags(5)
...
...
tests/script/tsim/insert/null.sim
浏览文件 @
dc4e5e61
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
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep 50
sql connect
sql connect
print =============== create database
print =============== create database
...
@@ -211,66 +210,48 @@ endi
...
@@ -211,66 +210,48 @@ endi
#===================================================================
#===================================================================
#print =============== query data from stb
#print =============== query data from stb
#sql select * from stb
sql select * from stb
#print ===>
print ===>
#print ===> rows: $rows
print ===> rows: $rows
#print ===> rows0: $data00 $data01 $data02 $data03 $data04
print ===> rows0: $data00 $data01 $data02 $data03 $data04
#if $rows != 4 then
if $rows != 12 then
# return -1
return -1
#endi
endi
#print =============== select count(*) from supter table
#print =============== select count(*) from supter table
#
sql select count(*) from stb
sql select count(*) from stb
#
print $data00 $data01 $data02
print $data00 $data01 $data02
#
if $rows != 1 then
if $rows != 1 then
#
return -1
return -1
#
endi
endi
#
if $data00 != 12 then
if $data00 != 12 then
#
return -1
return -1
#
endi
endi
#print =============== select count(column) from supter table
#print =============== select count(column) from supter table
#
sql select count(ts), count(c1), count(c2), count(c3) from stb
sql select count(ts), count(c1), count(c2), count(c3) from stb
#
print $data00 $data01 $data02 $data03
print $data00 $data01 $data02 $data03
#
if $data00 != 12 then
if $data00 != 12 then
#
return -1
return -1
#
endi
endi
#
if $data01 != 8 then
if $data01 != 8 then
#
return -1
return -1
#
endi
endi
#
if $data02 != 8 then
if $data02 != 8 then
#
return -1
return -1
#
endi
endi
#
if $data03 != 8 then
if $data03 != 8 then
#
return -1
return -1
#
endi
endi
#===================================================================
#===================================================================
#===================================================================
print =============== stop and restart taosd, then again do query above
print =============== stop and restart taosd, then again do query above
system sh/exec.sh -n dnode1 -s stop -x SIGINT
system sh/exec.sh -n dnode1 -s stop -x SIGINT
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
print ===> waiting dnode ready
$loop_cnt = 0
check_dnode_ready:
$loop_cnt = $loop_cnt + 1
sleep 200
if $loop_cnt == 10 then
print ====> dnode not ready!
return -1
endi
sql show dnodes
print ===> $rows $data00 $data01 $data02 $data03 $data04 $data05
if $data00 != 1 then
return -1
endi
if $data04 != ready then
goto check_dnode_ready
endi
#===================================================================
#===================================================================
#===================================================================
print =============== query data from child table
print =============== query data from child table
sql select * from ct1
sql select * from ct1
print ===> select * from ct1
print ===> select * from ct1
...
@@ -292,15 +273,15 @@ endi
...
@@ -292,15 +273,15 @@ endi
if $data03 != 3.000000000 then
if $data03 != 3.000000000 then
return -1
return -1
endi
endi
#if $data41 != -14
then
if $data41 != 12
then
#
return -1
return -1
#
endi
endi
#if $data42 != -2.4
0000 then
if $data42 != 2.2
0000 then
#
return -1
return -1
#
endi
endi
#if $data43 != -3.400000000
then
if $data43 != NULL
then
#
return -1
return -1
#
endi
endi
print =============== select count(*) from child table
print =============== select count(*) from child table
sql select count(*) from ct1
sql select count(*) from ct1
...
@@ -435,40 +416,39 @@ if $data92 != 3.600000000 then
...
@@ -435,40 +416,39 @@ if $data92 != 3.600000000 then
return -1
return -1
endi
endi
#===================================================================
#===================================================================
#===================================================================
#
print =============== query data from stb
print =============== query data from stb
#
sql select * from stb
sql select * from stb
#
print ===>
print ===>
#
print ===> rows: $rows
print ===> rows: $rows
#
print ===> rows0: $data00 $data01 $data02 $data03 $data04
print ===> rows0: $data00 $data01 $data02 $data03 $data04
#if $rows != 4
then
if $rows != 12
then
#
return -1
return -1
#
endi
endi
#
print =============== select count(*) from supter table
print =============== select count(*) from supter table
#
sql select count(*) from stb
sql select count(*) from stb
#
print $data00 $data01 $data02
print $data00 $data01 $data02
#
if $rows != 1 then
if $rows != 1 then
#
return -1
return -1
#
endi
endi
#
if $data00 != 12 then
if $data00 != 12 then
#
return -1
return -1
#
endi
endi
#
print =============== select count(column) from supter table
print =============== select count(column) from supter table
#
sql select count(ts), count(c1), count(c2), count(c3) from stb
sql select count(ts), count(c1), count(c2), count(c3) from stb
#
print $data00 $data01 $data02 $data03
print $data00 $data01 $data02 $data03
#
if $data00 != 12 then
if $data00 != 12 then
#
return -1
return -1
#
endi
endi
#
if $data01 != 8 then
if $data01 != 8 then
#
return -1
return -1
#
endi
endi
#
if $data02 != 8 then
if $data02 != 8 then
#
return -1
return -1
#
endi
endi
#
if $data03 != 8 then
if $data03 != 8 then
#
return -1
return -1
#
endi
endi
system sh/exec.sh -n dnode1 -s stop -x SIGINT
system sh/exec.sh -n dnode1 -s stop -x SIGINT
tests/script/
general
/insert/query_block1_file.sim
→
tests/script/
tsim
/insert/query_block1_file.sim
浏览文件 @
dc4e5e61
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
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep 2000
sql connect
sql connect
$i = 0
$i = 0
...
@@ -190,7 +185,7 @@ clear:
...
@@ -190,7 +185,7 @@ clear:
sql drop database $db
sql drop database $db
sql show databases
sql show databases
if $rows !=
0
then
if $rows !=
2
then
return -1
return -1
endi
endi
...
...
tests/script/
general
/insert/query_block1_memory.sim
→
tests/script/
tsim
/insert/query_block1_memory.sim
浏览文件 @
dc4e5e61
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
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep 2000
sql connect
sql connect
$i = 0
$i = 0
...
@@ -175,7 +170,7 @@ clear:
...
@@ -175,7 +170,7 @@ clear:
sql drop database $db
sql drop database $db
sql show databases
sql show databases
if $rows !=
0
then
if $rows !=
2
then
return -1
return -1
endi
endi
...
...
tests/script/
general
/insert/query_block2_file.sim
→
tests/script/
tsim
/insert/query_block2_file.sim
浏览文件 @
dc4e5e61
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
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep 2000
sql connect
sql connect
$i = 0
$i = 0
...
@@ -19,15 +14,7 @@ sql drop database -x step1
...
@@ -19,15 +14,7 @@ sql drop database -x step1
step1:
step1:
sql create database $db
sql create database $db
sql use $db
sql use $db
sql create table $tb (ts timestamp, speed int)
$x = 0
create1:
$x = $x + 1
sleep 1000
if $x == 20 then
return -1
endi
sql create table $tb (ts timestamp, speed int) -x create1
#commit to file will trigger if insert 82 rows
#commit to file will trigger if insert 82 rows
$N = 82
$N = 82
...
@@ -204,7 +191,7 @@ clear:
...
@@ -204,7 +191,7 @@ clear:
sql drop database $db
sql drop database $db
sql show databases
sql show databases
if $rows !=
0
then
if $rows !=
2
then
return -1
return -1
endi
endi
...
...
tests/script/
general
/insert/query_block2_memory.sim
→
tests/script/
tsim
/insert/query_block2_memory.sim
浏览文件 @
dc4e5e61
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
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep 2000
sql connect
sql connect
$i = 0
$i = 0
...
@@ -167,7 +162,7 @@ endi
...
@@ -167,7 +162,7 @@ endi
sql drop database $db
sql drop database $db
sql show databases
sql show databases
if $rows !=
0
then
if $rows !=
2
then
return -1
return -1
endi
endi
...
...
tests/script/
general
/insert/query_file_memory.sim
→
tests/script/
tsim
/insert/query_file_memory.sim
浏览文件 @
dc4e5e61
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
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep 2000
sql connect
sql connect
$i = 0
$i = 0
...
@@ -20,14 +15,7 @@ step1:
...
@@ -20,14 +15,7 @@ step1:
sql create database $db
sql create database $db
sql use $db
sql use $db
$x = 0
sql create table $tb (ts timestamp, speed int)
create1:
$x = $x + 1
sleep 1000
if $x == 20 then
return -1
endi
sql create table $tb (ts timestamp, speed int) -x create1
#commit to file will trigger if insert 82 rows
#commit to file will trigger if insert 82 rows
...
@@ -202,7 +190,7 @@ clear:
...
@@ -202,7 +190,7 @@ clear:
sql drop database $db
sql drop database $db
sql show databases
sql show databases
if $rows !=
0
then
if $rows !=
2
then
return -1
return -1
endi
endi
...
...
tests/script/
general
/insert/query_multi_file.sim
→
tests/script/
tsim
/insert/query_multi_file.sim
浏览文件 @
dc4e5e61
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
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep 2000
sql connect
sql connect
$i = 0
$i = 0
...
@@ -20,14 +15,7 @@ step1:
...
@@ -20,14 +15,7 @@ step1:
sql create database $db
sql create database $db
sql use $db
sql use $db
$x = 0
sql create table $tb (ts timestamp, speed int)
create1:
$x = $x + 1
sleep 1000
if $x == 20 then
return -1
endi
sql create table $tb (ts timestamp, speed int) -x create1
$N = 20000
$N = 20000
...
@@ -49,7 +37,7 @@ endi
...
@@ -49,7 +37,7 @@ endi
sql drop database $db
sql drop database $db
sql show databases
sql show databases
if $rows !=
0
then
if $rows !=
2
then
return -1
return -1
endi
endi
...
...
tests/script/
general
/insert/tcp.sim
→
tests/script/
tsim
/insert/tcp.sim
浏览文件 @
dc4e5e61
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
system sh/cfg.sh -n dnode1 -c
walLevel -v
1
system sh/cfg.sh -n dnode1 -c
debugflag -v 13
1
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep 2000
sql connect
sql connect
sql create database d1;
sql create database d1;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录