Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
0b88efde
T
TDengine
项目概览
taosdata
/
TDengine
大约 2 年 前同步成功
通知
1192
Star
22018
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看板
提交
0b88efde
编写于
8月 08, 2023
作者:
haoranc
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
test:modify base version 3100 in rollingup cases
上级
d7116f77
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
12 addition
and
3 deletion
+12
-3
tests/parallel_test/cases.task
tests/parallel_test/cases.task
+1
-1
tests/system-test/0-others/compatibility.py
tests/system-test/0-others/compatibility.py
+2
-1
tests/system-test/6-cluster/5dnode3mnodeRoll.py
tests/system-test/6-cluster/5dnode3mnodeRoll.py
+9
-1
未找到文件。
tests/parallel_test/cases.task
浏览文件 @
0b88efde
...
@@ -452,7 +452,7 @@
...
@@ -452,7 +452,7 @@
,,y,system-test,./pytest.sh python3 ./test.py -f 6-cluster/5dnode3mnodeRestartDnodeInsertDataAsync.py -N 6 -M 3
,,y,system-test,./pytest.sh python3 ./test.py -f 6-cluster/5dnode3mnodeRestartDnodeInsertDataAsync.py -N 6 -M 3
#,,y,system-test,./pytest.sh python3 ./test.py -f 6-cluster/5dnode3mnodeRestartDnodeInsertDataAsync.py -N 6 -M 3 -n 3
#,,y,system-test,./pytest.sh python3 ./test.py -f 6-cluster/5dnode3mnodeRestartDnodeInsertDataAsync.py -N 6 -M 3 -n 3
,,n,system-test,python3 ./test.py -f 6-cluster/manually-test/6dnode3mnodeInsertLessDataAlterRep3to1to3.py -N 6 -M 3
,,n,system-test,python3 ./test.py -f 6-cluster/manually-test/6dnode3mnodeInsertLessDataAlterRep3to1to3.py -N 6 -M 3
#
,,n,system-test,python ./test.py -f 6-cluster/5dnode3mnodeRoll.py -N 3 -C 1
,,n,system-test,python ./test.py -f 6-cluster/5dnode3mnodeRoll.py -N 3 -C 1
,,y,system-test,./pytest.sh python3 ./test.py -f 6-cluster/5dnode3mnodeAdd1Ddnoe.py -N 7 -M 3 -C 6
,,y,system-test,./pytest.sh python3 ./test.py -f 6-cluster/5dnode3mnodeAdd1Ddnoe.py -N 7 -M 3 -C 6
,,y,system-test,./pytest.sh python3 ./test.py -f 6-cluster/5dnode3mnodeAdd1Ddnoe.py -N 7 -M 3 -C 6 -n 3
,,y,system-test,./pytest.sh python3 ./test.py -f 6-cluster/5dnode3mnodeAdd1Ddnoe.py -N 7 -M 3 -C 6 -n 3
#,,y,system-test,./pytest.sh python3 ./test.py -f 6-cluster/5dnode3mnodeDrop.py -N 5
#,,y,system-test,./pytest.sh python3 ./test.py -f 6-cluster/5dnode3mnodeDrop.py -N 5
...
...
tests/system-test/0-others/compatibility.py
浏览文件 @
0b88efde
...
@@ -198,7 +198,8 @@ class TDTestCase:
...
@@ -198,7 +198,8 @@ class TDTestCase:
# checkout deleted data
# checkout deleted data
tdsql
.
execute
(
"insert into deldata.ct1 values ( now()-0s, 0, 0, 0, 0, 0.0, 0.0, 0, 'binary0', 'nchar0', now()+0a ) ( now()-10s, 1, 11111, 111, 11, 1.11, 11.11, 1, 'binary1', 'nchar1', now()+1a ) ( now()-20s, 2, 22222, 222, 22, 2.22, 22.22, 0, 'binary2', 'nchar2', now()+2a ) ( now()-30s, 3, 33333, 333, 33, 3.33, 33.33, 1, 'binary3', 'nchar3', now()+3a );"
)
tdsql
.
execute
(
"insert into deldata.ct1 values ( now()-0s, 0, 0, 0, 0, 0.0, 0.0, 0, 'binary0', 'nchar0', now()+0a ) ( now()-10s, 1, 11111, 111, 11, 1.11, 11.11, 1, 'binary1', 'nchar1', now()+1a ) ( now()-20s, 2, 22222, 222, 22, 2.22, 22.22, 0, 'binary2', 'nchar2', now()+2a ) ( now()-30s, 3, 33333, 333, 33, 3.33, 33.33, 1, 'binary3', 'nchar3', now()+3a );"
)
tdsql
.
query
(
"flush database deldata;select avg(c1) from deldata.ct1;"
)
tdsql
.
execute
(
"flush database deldata;"
)
tdsql
.
query
(
"select avg(c1) from deldata.ct1;"
)
tdsql
=
tdCom
.
newTdSql
()
tdsql
=
tdCom
.
newTdSql
()
...
...
tests/system-test/6-cluster/5dnode3mnodeRoll.py
浏览文件 @
0b88efde
...
@@ -27,7 +27,7 @@ import threading
...
@@ -27,7 +27,7 @@ import threading
import
time
import
time
import
json
import
json
BASEVERSION
=
"3.
0.7
.0"
BASEVERSION
=
"3.
1.0
.0"
class
TDTestCase
:
class
TDTestCase
:
...
@@ -245,6 +245,9 @@ class TDTestCase:
...
@@ -245,6 +245,9 @@ class TDTestCase:
os
.
system
(
"LD_LIBRARY_PATH=/usr/lib taos -f 0-others/TS-3131.tsql"
)
os
.
system
(
"LD_LIBRARY_PATH=/usr/lib taos -f 0-others/TS-3131.tsql"
)
# self.buildTaosd(bPath)
# self.buildTaosd(bPath)
# add deleted data
os
.
system
(
"LD_LIBRARY_PATH=/usr/lib taos -f 0-others/deletedData.sql"
)
threads
=
[]
threads
=
[]
threads
.
append
(
threading
.
Thread
(
target
=
self
.
insertAllData
,
args
=
(
cPath_temp
,
dbname
,
tableNumbers1
,
recordNumbers1
)))
threads
.
append
(
threading
.
Thread
(
target
=
self
.
insertAllData
,
args
=
(
cPath_temp
,
dbname
,
tableNumbers1
,
recordNumbers1
)))
for
tr
in
threads
:
for
tr
in
threads
:
...
@@ -285,6 +288,11 @@ class TDTestCase:
...
@@ -285,6 +288,11 @@ class TDTestCase:
tdsql1
.
query
(
f
"select count(*) from db4096.stb0"
)
tdsql1
.
query
(
f
"select count(*) from db4096.stb0"
)
tdsql1
.
checkData
(
0
,
0
,
50000
)
tdsql1
.
checkData
(
0
,
0
,
50000
)
# checkout deleted data
tdsql
.
execute
(
"insert into deldata.ct1 values ( now()-0s, 0, 0, 0, 0, 0.0, 0.0, 0, 'binary0', 'nchar0', now()+0a ) ( now()-10s, 1, 11111, 111, 11, 1.11, 11.11, 1, 'binary1', 'nchar1', now()+1a ) ( now()-20s, 2, 22222, 222, 22, 2.22, 22.22, 0, 'binary2', 'nchar2', now()+2a ) ( now()-30s, 3, 33333, 333, 33, 3.33, 33.33, 1, 'binary3', 'nchar3', now()+3a );"
)
tdsql
.
query
(
"flush database deldata;select avg(c1) from deldata.ct1;"
)
# tdsql1.query("show streams;")
# tdsql1.query("show streams;")
# tdsql1.checkRows(2)
# tdsql1.checkRows(2)
tdsql1
.
query
(
"select *,tbname from d0.almlog where mcid='m0103';"
)
tdsql1
.
query
(
"select *,tbname from d0.almlog where mcid='m0103';"
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录