Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
buyaopa
TDengine
提交
a0b2cdac
T
TDengine
项目概览
buyaopa
/
TDengine
与 Fork 源项目一致
Fork自
taosdata / TDengine
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
a0b2cdac
编写于
7月 05, 2020
作者:
S
Shengliang Guan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
scripts
上级
850cc2e2
变更
19
隐藏空白更改
内联
并排
Showing
19 changed file
with
85 addition
and
87 deletion
+85
-87
tests/script/jenkins/basic.txt
tests/script/jenkins/basic.txt
+27
-26
tests/script/unique/arbitrator/offline_replica2_alterTable_online.sim
.../unique/arbitrator/offline_replica2_alterTable_online.sim
+2
-2
tests/script/unique/arbitrator/offline_replica2_alterTag_online.sim
...pt/unique/arbitrator/offline_replica2_alterTag_online.sim
+2
-3
tests/script/unique/arbitrator/offline_replica2_createTable_online.sim
...unique/arbitrator/offline_replica2_createTable_online.sim
+6
-8
tests/script/unique/arbitrator/offline_replica2_dropDb_online.sim
...ript/unique/arbitrator/offline_replica2_dropDb_online.sim
+2
-2
tests/script/unique/arbitrator/offline_replica2_dropTable_online.sim
...t/unique/arbitrator/offline_replica2_dropTable_online.sim
+2
-2
tests/script/unique/arbitrator/offline_replica3_alterTable_online.sim
.../unique/arbitrator/offline_replica3_alterTable_online.sim
+2
-2
tests/script/unique/arbitrator/offline_replica3_alterTag_online.sim
...pt/unique/arbitrator/offline_replica3_alterTag_online.sim
+11
-17
tests/script/unique/arbitrator/offline_replica3_dropDb_online.sim
...ript/unique/arbitrator/offline_replica3_dropDb_online.sim
+2
-2
tests/script/unique/arbitrator/offline_replica3_dropTable_online.sim
...t/unique/arbitrator/offline_replica3_dropTable_online.sim
+2
-2
tests/script/unique/arbitrator/replica_changeWithArbitrator.sim
...script/unique/arbitrator/replica_changeWithArbitrator.sim
+11
-5
tests/script/unique/arbitrator/sync_replica2_alterTable_add.sim
...script/unique/arbitrator/sync_replica2_alterTable_add.sim
+2
-2
tests/script/unique/arbitrator/sync_replica2_alterTable_drop.sim
...cript/unique/arbitrator/sync_replica2_alterTable_drop.sim
+2
-2
tests/script/unique/arbitrator/sync_replica2_dropDb.sim
tests/script/unique/arbitrator/sync_replica2_dropDb.sim
+2
-2
tests/script/unique/arbitrator/sync_replica2_dropTable.sim
tests/script/unique/arbitrator/sync_replica2_dropTable.sim
+2
-2
tests/script/unique/arbitrator/sync_replica3_alterTable_add.sim
...script/unique/arbitrator/sync_replica3_alterTable_add.sim
+2
-2
tests/script/unique/arbitrator/sync_replica3_alterTable_drop.sim
...cript/unique/arbitrator/sync_replica3_alterTable_drop.sim
+2
-2
tests/script/unique/arbitrator/sync_replica3_dropDb.sim
tests/script/unique/arbitrator/sync_replica3_dropDb.sim
+2
-2
tests/script/unique/arbitrator/sync_replica3_dropTable.sim
tests/script/unique/arbitrator/sync_replica3_dropTable.sim
+2
-2
未找到文件。
tests/script/jenkins/basic.txt
浏览文件 @
a0b2cdac
...
...
@@ -2,10 +2,10 @@ cd ../../../debug; cmake ..
cd ../../../debug; make
#./test.sh -f general/alter/cached_schema_after_alter.sim
./test.sh -f general/alter/count.sim
./test.sh -f general/alter/import.sim
###
./test.sh -f general/alter/count.sim
###
./test.sh -f general/alter/import.sim
#./test.sh -f general/alter/insert1.sim
./test.sh -f general/alter/insert2.sim
###
./test.sh -f general/alter/insert2.sim
./test.sh -f general/alter/metrics.sim
./test.sh -f general/alter/table.sim
...
...
@@ -100,8 +100,8 @@ cd ../../../debug; make
./test.sh -f general/insert/query_multi_file.sim
./test.sh -f general/insert/tcp.sim
./test.sh -f general/parser/alter.sim
./test.sh -f general/parser/alter1.sim
###
./test.sh -f general/parser/alter.sim
###
./test.sh -f general/parser/alter1.sim
./test.sh -f general/parser/alter_stable.sim
./test.sh -f general/parser/auto_create_tb.sim
./test.sh -f general/parser/auto_create_tb_drop_tb.sim
...
...
@@ -141,15 +141,15 @@ cd ../../../debug; make
./test.sh -f general/parser/interp.sim
./test.sh -f general/parser/tags_dynamically_specifiy.sim
./test.sh -f general/parser/groupby.sim
./test.sh -f general/parser/set_tag_vals.sim
###
./test.sh -f general/parser/set_tag_vals.sim
#./test.sh -f general/parser/slimit_alter_tags.sim
./test.sh -f general/parser/join.sim
./test.sh -f general/parser/join_multivnode.sim
./test.sh -f general/parser/binary_escapeCharacter.sim
./test.sh -f general/parser/bug.sim
#./test.sh -f general/parser/stream_on_sys.sim
./test.sh -f general/parser/stream.sim
./test.sh -f general/parser/repeatAlter.sim
#
./test.sh -f general/parser/stream.sim
###
./test.sh -f general/parser/repeatAlter.sim
#./test.sh -f general/parser/repeatStream.sim
./test.sh -f general/stable/disk.sim
...
...
@@ -192,7 +192,7 @@ cd ../../../debug; make
./test.sh -f general/tag/4.sim
./test.sh -f general/tag/5.sim
./test.sh -f general/tag/6.sim
./test.sh -f general/tag/add.sim
###
./test.sh -f general/tag/add.sim
./test.sh -f general/tag/bigint.sim
./test.sh -f general/tag/binary_binary.sim
./test.sh -f general/tag/binary.sim
...
...
@@ -210,7 +210,7 @@ cd ../../../debug; make
./test.sh -f general/tag/int_binary.sim
./test.sh -f general/tag/int_float.sim
./test.sh -f general/tag/int.sim
./test.sh -f general/tag/set.sim
###
./test.sh -f general/tag/set.sim
./test.sh -f general/tag/smallint.sim
./test.sh -f general/tag/tinyint.sim
...
...
@@ -245,13 +245,13 @@ cd ../../../debug; make
./test.sh -f unique/account/user_create.sim
./test.sh -f unique/account/user_len.sim
./test.sh -f unique/big/balance.sim
###
./test.sh -f unique/big/balance.sim
./test.sh -f unique/big/maxvnodes.sim
./test.sh -f unique/big/tcp.sim
./test.sh -f unique/cluster/balance1.sim
./test.sh -f unique/cluster/balance2.sim
./test.sh -f unique/cluster/balance3.sim
###
./test.sh -f unique/cluster/balance3.sim
./test.sh -f unique/cluster/cache.sim
./test.sh -f unique/column/replica3.sim
...
...
@@ -309,16 +309,16 @@ cd ../../../debug; make
./test.sh -f unique/vnode/replica3_repeat.sim
./test.sh -f unique/vnode/replica3_vgroup.sim
./test.sh -f general/stream/metrics_1.sim
./test.sh -f general/stream/metrics_del.sim
./test.sh -f general/stream/metrics_n.sim
./test.sh -f general/stream/metrics_replica1_vnoden.sim
#
./test.sh -f general/stream/metrics_1.sim
#
./test.sh -f general/stream/metrics_del.sim
#
./test.sh -f general/stream/metrics_n.sim
#
./test.sh -f general/stream/metrics_replica1_vnoden.sim
#./test.sh -f general/stream/new_stream.sim
./test.sh -f general/stream/restart_stream.sim
./test.sh -f general/stream/stream_1.sim
./test.sh -f general/stream/stream_2.sim
./test.sh -f general/stream/stream_3.sim
./test.sh -f general/stream/stream_restart.sim
#
./test.sh -f general/stream/restart_stream.sim
#
./test.sh -f general/stream/stream_1.sim
#
./test.sh -f general/stream/stream_2.sim
#
./test.sh -f general/stream/stream_3.sim
#
./test.sh -f general/stream/stream_restart.sim
./test.sh -f general/stream/table_1.sim
./test.sh -f general/stream/table_del.sim
./test.sh -f general/stream/table_n.sim
...
...
@@ -342,22 +342,23 @@ cd ../../../debug; make
./test.sh -f unique/arbitrator/dn3_mn1_vnode_delDir.sim
./test.sh -f unique/arbitrator/dn3_mn1_r2_vnode_delDir.sim
./test.sh -f unique/arbitrator/dn3_mn1_r3_vnode_delDir.sim
./test.sh -f unique/arbitrator/dn3_mn1_vnode_nomaster.sim
###
./test.sh -f unique/arbitrator/dn3_mn1_vnode_nomaster.sim
./test.sh -f unique/arbitrator/dn3_mn2_killDnode.sim
./test.sh -f unique/arbitrator/insert_duplicationTs.sim
./test.sh -f unique/arbitrator/offline_replica2_alterTable_online.sim
###
./test.sh -f unique/arbitrator/offline_replica2_alterTable_online.sim
./test.sh -f unique/arbitrator/offline_replica2_alterTag_online.sim
./test.sh -f unique/arbitrator/offline_replica2_createTable_online.sim
./test.sh -f unique/arbitrator/offline_replica2_dropDb_online.sim
./test.sh -f unique/arbitrator/offline_replica2_dropTable_online.sim
./test.sh -f unique/arbitrator/offline_replica3_alterTable_online.sim
###
./test.sh -f unique/arbitrator/offline_replica3_alterTable_online.sim
./test.sh -f unique/arbitrator/offline_replica3_alterTag_online.sim
./test.sh -f unique/arbitrator/offline_replica3_createTable_online.sim
./test.sh -f unique/arbitrator/offline_replica3_dropDb_online.sim
./test.sh -f unique/arbitrator/offline_replica3_dropTable_online.sim
./test.sh -f unique/arbitrator/replica_changeWithArbitrator.sim
./test.sh -f unique/arbitrator/sync_replica2_alterTable_add.sim
./test.sh -f unique/arbitrator/sync_replica2_alterTable_drop.sim
###./test.sh -f unique/arbitrator/sync_replica2_alterTable_add.sim
###./test.sh -f unique/arbitrator/sync_replica2_alterTable_drop.sim
./test.sh -f unique/arbitrator/sync_replica2_dropDb.sim
./test.sh -f unique/arbitrator/sync_replica2_dropTable.sim
./test.sh -f unique/arbitrator/sync_replica3_alterTable_add.sim
...
...
tests/script/unique/arbitrator/offline_replica2_alterTable_online.sim
浏览文件 @
a0b2cdac
...
...
@@ -66,8 +66,8 @@ $totalTableNum = 10
$sleepTimer = 3000
$db = db
print create database $db replica 2
maxTables $totalTableNum
sql create database $db replica 2
maxTables $totalTableNum
print create database $db replica 2
sql create database $db replica 2
sql use $db
# create table , insert data
...
...
tests/script/unique/arbitrator/offline_replica2_alterTag_online.sim
浏览文件 @
a0b2cdac
...
...
@@ -64,11 +64,10 @@ sleep 3000
$totalTableNum = 10
$sleepTimer = 3000
$maxTables = $totalTableNum * 2
$db = db
print create database $db replica 2
maxTables $maxTables
sql create database $db replica 2
maxTables $maxTables
print create database $db replica 2
sql create database $db replica 2
sql use $db
# create table , insert data
...
...
tests/script/unique/arbitrator/offline_replica2_createTable_online.sim
浏览文件 @
a0b2cdac
...
...
@@ -30,10 +30,10 @@ system sh/cfg.sh -n dnode3 -c alternativeRole -v 2
system sh/cfg.sh -n dnode4 -c alternativeRole -v 2
$totalTableNum = 10
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v
$totalTableNum
system sh/cfg.sh -n dnode2 -c maxtablesPerVnode -v
$totalTableNum
system sh/cfg.sh -n dnode3 -c maxtablesPerVnode -v
$totalTableNum
system sh/cfg.sh -n dnode4 -c maxtablesPerVnode -v
$totalTableNum
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v
20
system sh/cfg.sh -n dnode2 -c maxtablesPerVnode -v
20
system sh/cfg.sh -n dnode3 -c maxtablesPerVnode -v
20
system sh/cfg.sh -n dnode4 -c maxtablesPerVnode -v
20
system sh/cfg.sh -n dnode1 -c maxVgroupsPerDb -v 1
system sh/cfg.sh -n dnode2 -c maxVgroupsPerDb -v 1
...
...
@@ -65,11 +65,9 @@ sleep 3000
$totalTableNum = 10
$sleepTimer = 3000
$maxTables = $totalTableNum * 2
$db = db
print create database $db replica 2
maxTables $maxTables
sql create database $db replica 2
maxTables $maxTables
print create database $db replica 2
sql create database $db replica 2
sql use $db
# create table , insert data
...
...
tests/script/unique/arbitrator/offline_replica2_dropDb_online.sim
浏览文件 @
a0b2cdac
...
...
@@ -66,8 +66,8 @@ $totalTableNum = 10
$sleepTimer = 3000
$db = db
print create database $db replica 2
maxTables $totalTableNum
sql create database $db replica 2
maxTables $totalTableNum
print create database $db replica 2
sql create database $db replica 2
sql use $db
# create table , insert data
...
...
tests/script/unique/arbitrator/offline_replica2_dropTable_online.sim
浏览文件 @
a0b2cdac
...
...
@@ -66,8 +66,8 @@ $totalTableNum = 10
$sleepTimer = 3000
$db = db
print create database $db replica 2
maxTables $totalTableNum
sql create database $db replica 2
maxTables $totalTableNum
print create database $db replica 2
sql create database $db replica 2
sql use $db
# create table , insert data
...
...
tests/script/unique/arbitrator/offline_replica3_alterTable_online.sim
浏览文件 @
a0b2cdac
...
...
@@ -66,8 +66,8 @@ $totalTableNum = 10
$sleepTimer = 3000
$db = db
print create database $db replica 3
maxTables $totalTableNum
sql create database $db replica 3
maxTables $totalTableNum
print create database $db replica 3
sql create database $db replica 3
sql use $db
# create table , insert data
...
...
tests/script/unique/arbitrator/offline_replica3_alterTag_online.sim
浏览文件 @
a0b2cdac
...
...
@@ -19,27 +19,22 @@ system sh/cfg.sh -n dnode2 -c balanceInterval -v 10
system sh/cfg.sh -n dnode3 -c balanceInterval -v 10
system sh/cfg.sh -n dnode4 -c balanceInterval -v 10
#system sh/cfg.sh -n dnode1 -c alternativeRole -v 1
#system sh/cfg.sh -n dnode2 -c alternativeRole -v 2
#system sh/cfg.sh -n dnode3 -c alternativeRole -v 2
#system sh/cfg.sh -n dnode4 -c alternativeRole -v 2
$totalTableNum = 10
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v
$totalTableNum
system sh/cfg.sh -n dnode2 -c maxtablesPerVnode -v
$totalTableNum
system sh/cfg.sh -n dnode3 -c maxtablesPerVnode -v
$totalTableNum
system sh/cfg.sh -n dnode4 -c maxtablesPerVnode -v
$totalTableNum
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v
20
system sh/cfg.sh -n dnode2 -c maxtablesPerVnode -v
20
system sh/cfg.sh -n dnode3 -c maxtablesPerVnode -v
20
system sh/cfg.sh -n dnode4 -c maxtablesPerVnode -v
20
system sh/cfg.sh -n dnode1 -c maxVgroupsPerDb -v 1
system sh/cfg.sh -n dnode2 -c maxVgroupsPerDb -v 1
system sh/cfg.sh -n dnode3 -c maxVgroupsPerDb -v 1
system sh/cfg.sh -n dnode4 -c maxVgroupsPerDb -v 1
#system sh/cfg.sh -n dnode1 -c alternativeRole -v 1
#system sh/cfg.sh -n dnode2 -c alternativeRole -v 2
#system sh/cfg.sh -n dnode3 -c alternativeRole -v 2
#system sh/cfg.sh -n dnode4 -c alternativeRole -v 2
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 4
system sh/cfg.sh -n dnode2 -c maxtablesPerVnode -v 4
system sh/cfg.sh -n dnode3 -c maxtablesPerVnode -v 4
system sh/cfg.sh -n dnode4 -c maxtablesPerVnode -v 4
system sh/cfg.sh -n dnode1 -c arbitrator -v $arbitrator
system sh/cfg.sh -n dnode2 -c arbitrator -v $arbitrator
system sh/cfg.sh -n dnode3 -c arbitrator -v $arbitrator
...
...
@@ -64,11 +59,10 @@ sleep 3000
$totalTableNum = 10
$sleepTimer = 3000
$maxTables = $totalTableNum * 2
$db = db
print create database $db replica 3
maxTables $maxTables
sql create database $db replica 3
maxTables $maxTables
print create database $db replica 3
sql create database $db replica 3
sql use $db
# create table , insert data
...
...
tests/script/unique/arbitrator/offline_replica3_dropDb_online.sim
浏览文件 @
a0b2cdac
...
...
@@ -66,8 +66,8 @@ $totalTableNum = 10
$sleepTimer = 3000
$db = db
print create database $db replica 3
maxTables $totalTableNum
sql create database $db replica 3
maxTables $totalTableNum
print create database $db replica 3
sql create database $db replica 3
sql use $db
# create table , insert data
...
...
tests/script/unique/arbitrator/offline_replica3_dropTable_online.sim
浏览文件 @
a0b2cdac
...
...
@@ -66,8 +66,8 @@ $totalTableNum = 10
$sleepTimer = 3000
$db = db
print create database $db replica 3
maxTables $totalTableNum
sql create database $db replica 3
maxTables $totalTableNum
print create database $db replica 3
sql create database $db replica 3
sql use $db
# create table , insert data
...
...
tests/script/unique/arbitrator/replica_changeWithArbitrator.sim
浏览文件 @
a0b2cdac
...
...
@@ -34,10 +34,16 @@ system sh/cfg.sh -n dnode2 -c alternativeRole -v 0
system sh/cfg.sh -n dnode3 -c alternativeRole -v 0
system sh/cfg.sh -n dnode4 -c alternativeRole -v 0
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 4
system sh/cfg.sh -n dnode2 -c maxtablesPerVnode -v 4
system sh/cfg.sh -n dnode3 -c maxtablesPerVnode -v 4
system sh/cfg.sh -n dnode4 -c maxtablesPerVnode -v 4
$totalTableNum = 12
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v $totalTableNum
system sh/cfg.sh -n dnode2 -c maxtablesPerVnode -v $totalTableNum
system sh/cfg.sh -n dnode3 -c maxtablesPerVnode -v $totalTableNum
system sh/cfg.sh -n dnode4 -c maxtablesPerVnode -v $totalTableNum
system sh/cfg.sh -n dnode1 -c maxVgroupsPerDb -v 1
system sh/cfg.sh -n dnode2 -c maxVgroupsPerDb -v 1
system sh/cfg.sh -n dnode3 -c maxVgroupsPerDb -v 1
system sh/cfg.sh -n dnode4 -c maxVgroupsPerDb -v 1
system sh/cfg.sh -n dnode1 -c arbitrator -v $arbitrator
system sh/cfg.sh -n dnode2 -c arbitrator -v $arbitrator
...
...
@@ -65,7 +71,7 @@ sql connect
$totalTableNum = 12
$db = db
sql create database $db replica 1
maxTables $totalTableNum
sql create database $db replica 1
sql use $db
# create table , insert data
...
...
tests/script/unique/arbitrator/sync_replica2_alterTable_add.sim
浏览文件 @
a0b2cdac
...
...
@@ -66,8 +66,8 @@ $totalTableNum = 10
$sleepTimer = 3000
$db = db
print create database $db replica 2
maxTables $totalTableNum
sql create database $db replica 2
maxTables $totalTableNum
print create database $db replica 2
sql create database $db replica 2
sql use $db
# create table , insert data
...
...
tests/script/unique/arbitrator/sync_replica2_alterTable_drop.sim
浏览文件 @
a0b2cdac
...
...
@@ -66,8 +66,8 @@ $totalTableNum = 10
$sleepTimer = 3000
$db = db
print create database $db replica 2
maxTables $totalTableNum
sql create database $db replica 2
maxTables $totalTableNum
print create database $db replica 2
sql create database $db replica 2
sql use $db
# create table , insert data
...
...
tests/script/unique/arbitrator/sync_replica2_dropDb.sim
浏览文件 @
a0b2cdac
...
...
@@ -66,8 +66,8 @@ $totalTableNum = 10
$sleepTimer = 3000
$db = db
print create database $db replica 2
maxTables $totalTableNum
sql create database $db replica 2
maxTables $totalTableNum
print create database $db replica 2
sql create database $db replica 2
sql use $db
# create table , insert data
...
...
tests/script/unique/arbitrator/sync_replica2_dropTable.sim
浏览文件 @
a0b2cdac
...
...
@@ -66,8 +66,8 @@ $totalTableNum = 10
$sleepTimer = 3000
$db = db
print create database $db replica 2
maxTables $totalTableNum
sql create database $db replica 2
maxTables $totalTableNum
print create database $db replica 2
sql create database $db replica 2
sql use $db
# create table , insert data
...
...
tests/script/unique/arbitrator/sync_replica3_alterTable_add.sim
浏览文件 @
a0b2cdac
...
...
@@ -66,8 +66,8 @@ $totalTableNum = 10
$sleepTimer = 3000
$db = db
print create database $db replica 3
maxTables $totalTableNum
sql create database $db replica 3
maxTables $totalTableNum
print create database $db replica 3
sql create database $db replica 3
sql use $db
# create table , insert data
...
...
tests/script/unique/arbitrator/sync_replica3_alterTable_drop.sim
浏览文件 @
a0b2cdac
...
...
@@ -66,8 +66,8 @@ $totalTableNum = 10
$sleepTimer = 3000
$db = db
print create database $db replica 3
maxTables $totalTableNum
sql create database $db replica 3
maxTables $totalTableNum
print create database $db replica 3
sql create database $db replica 3
sql use $db
# create table , insert data
...
...
tests/script/unique/arbitrator/sync_replica3_dropDb.sim
浏览文件 @
a0b2cdac
...
...
@@ -66,8 +66,8 @@ $totalTableNum = 10
$sleepTimer = 3000
$db = db
print create database $db replica 3
maxTables $totalTableNum
sql create database $db replica 3
maxTables $totalTableNum
print create database $db replica 3
sql create database $db replica 3
sql use $db
# create table , insert data
...
...
tests/script/unique/arbitrator/sync_replica3_dropTable.sim
浏览文件 @
a0b2cdac
...
...
@@ -66,8 +66,8 @@ $totalTableNum = 10
$sleepTimer = 3000
$db = db
print create database $db replica 3
maxTables $totalTableNum
sql create database $db replica 3
maxTables $totalTableNum
print create database $db replica 3
sql create database $db replica 3
sql use $db
# create table , insert data
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录