Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
ce6e62a8
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看板
提交
ce6e62a8
编写于
11月 01, 2022
作者:
G
Ganlin Zhao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
revert test cases
上级
4672f87d
变更
33
隐藏空白更改
内联
并排
Showing
33 changed file
with
61 addition
and
92 deletion
+61
-92
tests/pytest/client/client.py
tests/pytest/client/client.py
+1
-1
tests/pytest/query/queryError.py
tests/pytest/query/queryError.py
+0
-1
tests/pytest/table/column_num.py
tests/pytest/table/column_num.py
+2
-2
tests/pytest/tag_lite/3.py
tests/pytest/tag_lite/3.py
+2
-3
tests/pytest/tag_lite/4.py
tests/pytest/tag_lite/4.py
+2
-3
tests/pytest/tag_lite/5.py
tests/pytest/tag_lite/5.py
+2
-3
tests/pytest/tag_lite/6.py
tests/pytest/tag_lite/6.py
+2
-3
tests/pytest/tag_lite/add.py
tests/pytest/tag_lite/add.py
+2
-3
tests/pytest/tag_lite/bigint.py
tests/pytest/tag_lite/bigint.py
+2
-3
tests/pytest/tag_lite/binary.py
tests/pytest/tag_lite/binary.py
+2
-3
tests/pytest/tag_lite/binary_binary.py
tests/pytest/tag_lite/binary_binary.py
+2
-3
tests/pytest/tag_lite/bool.py
tests/pytest/tag_lite/bool.py
+2
-3
tests/pytest/tag_lite/bool_binary.py
tests/pytest/tag_lite/bool_binary.py
+2
-3
tests/pytest/tag_lite/bool_int.py
tests/pytest/tag_lite/bool_int.py
+2
-3
tests/pytest/tag_lite/change.py
tests/pytest/tag_lite/change.py
+2
-3
tests/pytest/tag_lite/column.py
tests/pytest/tag_lite/column.py
+2
-3
tests/pytest/tag_lite/commit.py
tests/pytest/tag_lite/commit.py
+2
-3
tests/pytest/tag_lite/delete.py
tests/pytest/tag_lite/delete.py
+2
-3
tests/pytest/tag_lite/double.py
tests/pytest/tag_lite/double.py
+2
-3
tests/pytest/tag_lite/filter.py
tests/pytest/tag_lite/filter.py
+2
-3
tests/pytest/tag_lite/float.py
tests/pytest/tag_lite/float.py
+2
-3
tests/pytest/tag_lite/int.py
tests/pytest/tag_lite/int.py
+2
-3
tests/pytest/tag_lite/int_binary.py
tests/pytest/tag_lite/int_binary.py
+2
-3
tests/pytest/tag_lite/int_float.py
tests/pytest/tag_lite/int_float.py
+2
-3
tests/pytest/tag_lite/set.py
tests/pytest/tag_lite/set.py
+2
-3
tests/pytest/tag_lite/smallint.py
tests/pytest/tag_lite/smallint.py
+2
-3
tests/pytest/tag_lite/tinyint.py
tests/pytest/tag_lite/tinyint.py
+2
-3
tests/pytest/tag_lite/unsignedBigint.py
tests/pytest/tag_lite/unsignedBigint.py
+2
-3
tests/pytest/tag_lite/unsignedInt.py
tests/pytest/tag_lite/unsignedInt.py
+2
-3
tests/pytest/tag_lite/unsignedSmallint.py
tests/pytest/tag_lite/unsignedSmallint.py
+2
-3
tests/pytest/tag_lite/unsignedTinyint.py
tests/pytest/tag_lite/unsignedTinyint.py
+2
-3
tests/pytest/tools/taosdumpTest.py
tests/pytest/tools/taosdumpTest.py
+1
-2
tests/pytest/tools/taosdumpTest2.py
tests/pytest/tools/taosdumpTest2.py
+1
-2
未找到文件。
tests/pytest/client/client.py
浏览文件 @
ce6e62a8
...
...
@@ -71,7 +71,7 @@ class TDTestCase:
time
.
sleep
(
3
)
ret
=
tdSql
.
query
(
'show vnodes "{}"'
.
format
(
dnodeEndpoint
))
tdSql
.
checkRows
(
2
)
tdSql
.
checkRows
(
1
)
tdSql
.
checkData
(
0
,
0
,
2
)
tdSql
.
checkData
(
0
,
1
,
"leader"
)
...
...
tests/pytest/query/queryError.py
浏览文件 @
ce6e62a8
...
...
@@ -70,7 +70,6 @@ class TDTestCase:
tdSql
.
error
(
"select * from dev_001 where
\"
name
\"
= 'first'"
)
# TS-1577
time
.
sleep
(
1
)
tdSql
.
query
(
"show databases"
)
rows
=
tdSql
.
queryRows
...
...
tests/pytest/table/column_num.py
浏览文件 @
ce6e62a8
...
...
@@ -108,8 +108,8 @@ class TDTestCase:
tdLog
.
info
(
'show databases'
)
tdSql
.
query
(
'show databases'
)
# TSIM: if $rows != 0 then
tdLog
.
info
(
'tdSql.checkRow(
1
)'
)
tdSql
.
checkRows
(
1
)
tdLog
.
info
(
'tdSql.checkRow(
0
)'
)
tdSql
.
checkRows
(
0
)
# TSIM: return -1
# TSIM: endi
# convert end
...
...
tests/pytest/tag_lite/3.py
浏览文件 @
ce6e62a8
...
...
@@ -1312,12 +1312,11 @@ class TDTestCase:
tdLog
.
info
(
'drop database db'
)
tdSql
.
execute
(
'drop database db'
)
# TSIM: sql show databases
time
.
sleep
(
1
)
tdLog
.
info
(
'show databases'
)
tdSql
.
query
(
'show databases'
)
# TSIM: if $rows != 0 then
tdLog
.
info
(
'tdSql.checkRow(
1
)'
)
tdSql
.
checkRows
(
1
)
tdLog
.
info
(
'tdSql.checkRow(
0
)'
)
tdSql
.
checkRows
(
0
)
# TSIM: return -1
# TSIM: endi
# TSIM:
...
...
tests/pytest/tag_lite/4.py
浏览文件 @
ce6e62a8
...
...
@@ -1855,13 +1855,12 @@ class TDTestCase:
# TSIM: sql drop database $db
tdLog
.
info
(
'drop database db'
)
tdSql
.
execute
(
'drop database db'
)
time
.
sleep
(
1
)
# TSIM: sql show databases
tdLog
.
info
(
'show databases'
)
tdSql
.
query
(
'show databases'
)
# TSIM: if $rows != 0 then
tdLog
.
info
(
'tdSql.checkRow(
1
)'
)
tdSql
.
checkRows
(
1
)
tdLog
.
info
(
'tdSql.checkRow(
0
)'
)
tdSql
.
checkRows
(
0
)
# TSIM: return -1
# TSIM: endi
# TSIM:
...
...
tests/pytest/tag_lite/5.py
浏览文件 @
ce6e62a8
...
...
@@ -2283,13 +2283,12 @@ class TDTestCase:
# TSIM: sql drop database $db
tdLog
.
info
(
'drop database db'
)
tdSql
.
execute
(
'drop database db'
)
time
.
sleep
(
1
)
# TSIM: sql show databases
tdLog
.
info
(
'show databases'
)
tdSql
.
query
(
'show databases'
)
# TSIM: if $rows != 0 then
tdLog
.
info
(
'tdSql.checkRow(
1
)'
)
tdSql
.
checkRows
(
1
)
tdLog
.
info
(
'tdSql.checkRow(
0
)'
)
tdSql
.
checkRows
(
0
)
# TSIM: return -1
# TSIM: endi
# TSIM:
...
...
tests/pytest/tag_lite/6.py
浏览文件 @
ce6e62a8
...
...
@@ -2732,12 +2732,11 @@ class TDTestCase:
tdLog
.
info
(
'drop database db'
)
tdSql
.
execute
(
'drop database db'
)
# TSIM: sql show databases
time
.
sleep
(
1
)
tdLog
.
info
(
'show databases'
)
tdSql
.
query
(
'show databases'
)
# TSIM: if $rows != 0 then
tdLog
.
info
(
'tdSql.checkRow(
1
)'
)
tdSql
.
checkRows
(
1
)
tdLog
.
info
(
'tdSql.checkRow(
0
)'
)
tdSql
.
checkRows
(
0
)
# TSIM: return -1
# TSIM: endi
# TSIM:
...
...
tests/pytest/tag_lite/add.py
浏览文件 @
ce6e62a8
...
...
@@ -2056,12 +2056,11 @@ class TDTestCase:
tdLog
.
info
(
'sql drop database db'
)
tdSql
.
execute
(
'drop database db'
)
# TSIM: sql show databases
time
.
sleep
(
1
)
tdLog
.
info
(
'show databases'
)
tdSql
.
query
(
'show databases'
)
# TSIM: if $rows != 0 then
tdLog
.
info
(
'tdSql.checkRow(
1
)'
)
tdSql
.
checkRows
(
1
)
tdLog
.
info
(
'tdSql.checkRow(
0
)'
)
tdSql
.
checkRows
(
0
)
# TSIM: return -1
# TSIM: endi
# TSIM:
...
...
tests/pytest/tag_lite/bigint.py
浏览文件 @
ce6e62a8
...
...
@@ -562,12 +562,11 @@ class TDTestCase:
tdLog
.
info
(
'drop database db'
)
tdSql
.
execute
(
'drop database db'
)
# TSIM: sql show databases
time
.
sleep
(
1
)
tdLog
.
info
(
'show databases'
)
tdSql
.
query
(
'show databases'
)
# TSIM: if $rows != 0 then
tdLog
.
info
(
'tdSql.checkRow(
1
)'
)
tdSql
.
checkRows
(
1
)
tdLog
.
info
(
'tdSql.checkRow(
0
)'
)
tdSql
.
checkRows
(
0
)
# TSIM: return -1
# TSIM: endi
# TSIM:
...
...
tests/pytest/tag_lite/binary.py
浏览文件 @
ce6e62a8
...
...
@@ -566,12 +566,11 @@ class TDTestCase:
tdLog
.
info
(
'drop database db'
)
tdSql
.
execute
(
'drop database db'
)
# TSIM: sql show databases
time
.
sleep
(
1
)
tdLog
.
info
(
'show databases'
)
tdSql
.
query
(
'show databases'
)
# TSIM: if $rows != 0 then
tdLog
.
info
(
'tdSql.checkRow(
1
)'
)
tdSql
.
checkRows
(
1
)
tdLog
.
info
(
'tdSql.checkRow(
0
)'
)
tdSql
.
checkRows
(
0
)
# TSIM: return -1
# TSIM: endi
# TSIM:
...
...
tests/pytest/tag_lite/binary_binary.py
浏览文件 @
ce6e62a8
...
...
@@ -777,12 +777,11 @@ class TDTestCase:
tdLog
.
info
(
'drop database db'
)
tdSql
.
execute
(
'drop database db'
)
# TSIM: sql show databases
time
.
sleep
(
1
)
tdLog
.
info
(
'show databases'
)
tdSql
.
query
(
'show databases'
)
# TSIM: if $rows != 0 then
tdLog
.
info
(
'tdSql.checkRow(
1
)'
)
tdSql
.
checkRows
(
1
)
tdLog
.
info
(
'tdSql.checkRow(
0
)'
)
tdSql
.
checkRows
(
0
)
# TSIM: return -1
# TSIM: endi
# TSIM:
...
...
tests/pytest/tag_lite/bool.py
浏览文件 @
ce6e62a8
...
...
@@ -561,12 +561,11 @@ class TDTestCase:
tdLog
.
info
(
'drop database db'
)
tdSql
.
execute
(
'drop database db'
)
# TSIM: sql show databases
time
.
sleep
(
1
)
tdLog
.
info
(
'show databases'
)
tdSql
.
query
(
'show databases'
)
# TSIM: if $rows != 0 then
tdLog
.
info
(
'tdSql.checkRow(
1
)'
)
tdSql
.
checkRows
(
1
)
tdLog
.
info
(
'tdSql.checkRow(
0
)'
)
tdSql
.
checkRows
(
0
)
# TSIM: return -1
# TSIM: endi
# TSIM:
...
...
tests/pytest/tag_lite/bool_binary.py
浏览文件 @
ce6e62a8
...
...
@@ -771,12 +771,11 @@ class TDTestCase:
tdLog
.
info
(
'drop database db'
)
tdSql
.
execute
(
'drop database db'
)
# TSIM: sql show databases
time
.
sleep
(
1
)
tdLog
.
info
(
'show databases'
)
tdSql
.
query
(
'show databases'
)
# TSIM: if $rows != 0 then
tdLog
.
info
(
'tdSql.checkRow(
1
)'
)
tdSql
.
checkRows
(
1
)
tdLog
.
info
(
'tdSql.checkRow(
0
)'
)
tdSql
.
checkRows
(
0
)
# TSIM: return -1
# TSIM: endi
# TSIM:
...
...
tests/pytest/tag_lite/bool_int.py
浏览文件 @
ce6e62a8
...
...
@@ -803,12 +803,11 @@ class TDTestCase:
tdLog
.
info
(
'drop database db'
)
tdSql
.
execute
(
'drop database db'
)
# TSIM: sql show databases
time
.
sleep
(
1
)
tdLog
.
info
(
'show databases'
)
tdSql
.
query
(
'show databases'
)
# TSIM: if $rows != 0 then
tdLog
.
info
(
'tdSql.checkRow(
1
)'
)
tdSql
.
checkRows
(
1
)
tdLog
.
info
(
'tdSql.checkRow(
0
)'
)
tdSql
.
checkRows
(
0
)
# TSIM: return -1
# TSIM: endi
# TSIM:
...
...
tests/pytest/tag_lite/change.py
浏览文件 @
ce6e62a8
...
...
@@ -925,12 +925,11 @@ class TDTestCase:
tdLog
.
info
(
'drop database db'
)
tdSql
.
execute
(
'drop database db'
)
# TSIM: sql show databases
time
.
sleep
(
1
)
tdLog
.
info
(
'show databases'
)
tdSql
.
query
(
'show databases'
)
# TSIM: if $rows != 0 then
tdLog
.
info
(
'tdSql.checkRow(
1
)'
)
tdSql
.
checkRows
(
1
)
tdLog
.
info
(
'tdSql.checkRow(
0
)'
)
tdSql
.
checkRows
(
0
)
# TSIM: return -1
# TSIM: endi
# TSIM:
...
...
tests/pytest/tag_lite/column.py
浏览文件 @
ce6e62a8
...
...
@@ -177,12 +177,11 @@ class TDTestCase:
tdLog
.
info
(
'drop database db'
)
tdSql
.
execute
(
'drop database db'
)
# TSIM: sql show databases
time
.
sleep
(
1
)
tdLog
.
info
(
'show databases'
)
tdSql
.
query
(
'show databases'
)
# TSIM: if $rows != 0 then
tdLog
.
info
(
'tdSql.checkRow(
1
)'
)
tdSql
.
checkRows
(
1
)
tdLog
.
info
(
'tdSql.checkRow(
0
)'
)
tdSql
.
checkRows
(
0
)
# TSIM: return -1
# TSIM: endi
# TSIM:
...
...
tests/pytest/tag_lite/commit.py
浏览文件 @
ce6e62a8
...
...
@@ -2301,12 +2301,11 @@ class TDTestCase:
tdLog
.
info
(
'drop database db'
)
tdSql
.
execute
(
'drop database db'
)
# TSIM: sql show databases
time
.
sleep
(
1
)
tdLog
.
info
(
'show databases'
)
tdSql
.
query
(
'show databases'
)
# TSIM: if $rows != 0 then
tdLog
.
info
(
'tdSql.checkRow(
1
)'
)
tdSql
.
checkRows
(
1
)
tdLog
.
info
(
'tdSql.checkRow(
0
)'
)
tdSql
.
checkRows
(
0
)
# TSIM: return -1
# TSIM: endi
# TSIM:
...
...
tests/pytest/tag_lite/delete.py
浏览文件 @
ce6e62a8
...
...
@@ -1698,12 +1698,11 @@ class TDTestCase:
tdLog
.
info
(
'drop database db'
)
tdSql
.
execute
(
'drop database db'
)
# TSIM: sql show databases
time
.
sleep
(
1
)
tdLog
.
info
(
'show databases'
)
tdSql
.
query
(
'show databases'
)
# TSIM: if $rows != 0 then
tdLog
.
info
(
'tdSql.checkRow(
1
)'
)
tdSql
.
checkRows
(
1
)
tdLog
.
info
(
'tdSql.checkRow(
0
)'
)
tdSql
.
checkRows
(
0
)
# TSIM: return -1
# TSIM: endi
# TSIM:
...
...
tests/pytest/tag_lite/double.py
浏览文件 @
ce6e62a8
...
...
@@ -562,12 +562,11 @@ class TDTestCase:
tdLog
.
info
(
'drop database db'
)
tdSql
.
execute
(
'drop database db'
)
# TSIM: sql show databases
time
.
sleep
(
1
)
tdLog
.
info
(
'show databases'
)
tdSql
.
query
(
'show databases'
)
# TSIM: if $rows != 0 then
tdLog
.
info
(
'tdSql.checkRow(
1
)'
)
tdSql
.
checkRows
(
1
)
tdLog
.
info
(
'tdSql.checkRow(
0
)'
)
tdSql
.
checkRows
(
0
)
# TSIM: return -1
# TSIM: endi
# TSIM:
...
...
tests/pytest/tag_lite/filter.py
浏览文件 @
ce6e62a8
...
...
@@ -352,12 +352,11 @@ class TDTestCase:
tdLog
.
info
(
'drop database db'
)
tdSql
.
execute
(
'drop database db'
)
# TSIM: sql show databases
time
.
sleep
(
1
)
tdLog
.
info
(
'show databases'
)
tdSql
.
query
(
'show databases'
)
# TSIM: if $rows != 0 then
tdLog
.
info
(
'tdSql.checkRow(
1
)'
)
tdSql
.
checkRows
(
1
)
tdLog
.
info
(
'tdSql.checkRow(
0
)'
)
tdSql
.
checkRows
(
0
)
# TSIM: return -1
# TSIM: endi
# TSIM:
...
...
tests/pytest/tag_lite/float.py
浏览文件 @
ce6e62a8
...
...
@@ -562,12 +562,11 @@ class TDTestCase:
tdLog
.
info
(
'drop database db'
)
tdSql
.
execute
(
'drop database db'
)
# TSIM: sql show databases
time
.
sleep
(
1
)
tdLog
.
info
(
'show databases'
)
tdSql
.
query
(
'show databases'
)
# TSIM: if $rows != 0 then
tdLog
.
info
(
'tdSql.checkRow(
1
)'
)
tdSql
.
checkRows
(
1
)
tdLog
.
info
(
'tdSql.checkRow(
0
)'
)
tdSql
.
checkRows
(
0
)
# TSIM: return -1
# TSIM: endi
# TSIM:
...
...
tests/pytest/tag_lite/int.py
浏览文件 @
ce6e62a8
...
...
@@ -561,12 +561,11 @@ class TDTestCase:
tdLog
.
info
(
'drop database db'
)
tdSql
.
execute
(
'drop database db'
)
# TSIM: sql show databases
time
.
sleep
(
1
)
tdLog
.
info
(
'show databases'
)
tdSql
.
query
(
'show databases'
)
# TSIM: if $rows != 0 then
tdLog
.
info
(
'tdSql.checkRow(
1
)'
)
tdSql
.
checkRows
(
1
)
tdLog
.
info
(
'tdSql.checkRow(
0
)'
)
tdSql
.
checkRows
(
0
)
# TSIM: return -1
# TSIM: endi
# TSIM:
...
...
tests/pytest/tag_lite/int_binary.py
浏览文件 @
ce6e62a8
...
...
@@ -769,12 +769,11 @@ class TDTestCase:
tdLog
.
info
(
'drop database db'
)
tdSql
.
execute
(
'drop database db'
)
# TSIM: sql show databases
time
.
sleep
(
1
)
tdLog
.
info
(
'show databases'
)
tdSql
.
query
(
'show databases'
)
# TSIM: if $rows != 0 then
tdLog
.
info
(
'tdSql.checkRow(
1
)'
)
tdSql
.
checkRows
(
1
)
tdLog
.
info
(
'tdSql.checkRow(
0
)'
)
tdSql
.
checkRows
(
0
)
# TSIM: return -1
# TSIM: endi
# TSIM:
...
...
tests/pytest/tag_lite/int_float.py
浏览文件 @
ce6e62a8
...
...
@@ -805,12 +805,11 @@ class TDTestCase:
tdLog
.
info
(
'drop database db'
)
tdSql
.
execute
(
'drop database db'
)
# TSIM: sql show databases
time
.
sleep
(
1
)
tdLog
.
info
(
'show databases'
)
tdSql
.
query
(
'show databases'
)
# TSIM: if $rows != 0 then
tdLog
.
info
(
'tdSql.checkRow(
1
)'
)
tdSql
.
checkRows
(
1
)
tdLog
.
info
(
'tdSql.checkRow(
0
)'
)
tdSql
.
checkRows
(
0
)
# TSIM: return -1
# TSIM: endi
# TSIM:
...
...
tests/pytest/tag_lite/set.py
浏览文件 @
ce6e62a8
...
...
@@ -876,12 +876,11 @@ class TDTestCase:
tdLog
.
info
(
'drop database db'
)
tdSql
.
execute
(
'drop database db'
)
# TSIM: sql show databases
time
.
sleep
(
1
)
tdLog
.
info
(
'show databases'
)
tdSql
.
query
(
'show databases'
)
# TSIM: if $rows != 0 then
tdLog
.
info
(
'tdSql.checkRow(
1
)'
)
tdSql
.
checkRows
(
1
)
tdLog
.
info
(
'tdSql.checkRow(
0
)'
)
tdSql
.
checkRows
(
0
)
# TSIM: return -1
# TSIM: endi
# TSIM:
...
...
tests/pytest/tag_lite/smallint.py
浏览文件 @
ce6e62a8
...
...
@@ -562,12 +562,11 @@ class TDTestCase:
tdLog
.
info
(
'drop database db'
)
tdSql
.
execute
(
'drop database db'
)
# TSIM: sql show databases
time
.
sleep
(
1
)
tdLog
.
info
(
'show databases'
)
tdSql
.
query
(
'show databases'
)
# TSIM: if $rows != 0 then
tdLog
.
info
(
'tdSql.checkRow(
1
)'
)
tdSql
.
checkRows
(
1
)
tdLog
.
info
(
'tdSql.checkRow(
0
)'
)
tdSql
.
checkRows
(
0
)
# TSIM: return -1
# TSIM: endi
# TSIM:
...
...
tests/pytest/tag_lite/tinyint.py
浏览文件 @
ce6e62a8
...
...
@@ -562,12 +562,11 @@ class TDTestCase:
tdLog
.
info
(
'drop database db'
)
tdSql
.
execute
(
'drop database db'
)
# TSIM: sql show databases
time
.
sleep
(
1
)
tdLog
.
info
(
'show databases'
)
tdSql
.
query
(
'show databases'
)
# TSIM: if $rows != 0 then
tdLog
.
info
(
'tdSql.checkRow(
1
)'
)
tdSql
.
checkRows
(
1
)
tdLog
.
info
(
'tdSql.checkRow(
0
)'
)
tdSql
.
checkRows
(
0
)
# TSIM: return -1
# TSIM: endi
# TSIM:
...
...
tests/pytest/tag_lite/unsignedBigint.py
浏览文件 @
ce6e62a8
...
...
@@ -562,12 +562,11 @@ class TDTestCase:
tdLog
.
info
(
'drop database db'
)
tdSql
.
execute
(
'drop database db'
)
# TSIM: sql show databases
time
.
sleep
(
1
)
tdLog
.
info
(
'show databases'
)
tdSql
.
query
(
'show databases'
)
# TSIM: if $rows != 0 then
tdLog
.
info
(
'tdSql.checkRow(
1
)'
)
tdSql
.
checkRows
(
1
)
tdLog
.
info
(
'tdSql.checkRow(
0
)'
)
tdSql
.
checkRows
(
0
)
# TSIM: return -1
# TSIM: endi
# TSIM:
...
...
tests/pytest/tag_lite/unsignedInt.py
浏览文件 @
ce6e62a8
...
...
@@ -563,12 +563,11 @@ class TDTestCase:
tdLog
.
info
(
'drop database db'
)
tdSql
.
execute
(
'drop database db'
)
# TSIM: sql show databases
time
.
sleep
(
1
)
tdLog
.
info
(
'show databases'
)
tdSql
.
query
(
'show databases'
)
# TSIM: if $rows != 0 then
tdLog
.
info
(
'tdSql.checkRow(
1
)'
)
tdSql
.
checkRows
(
1
)
tdLog
.
info
(
'tdSql.checkRow(
0
)'
)
tdSql
.
checkRows
(
0
)
# TSIM: return -1
# TSIM: endi
# TSIM:
...
...
tests/pytest/tag_lite/unsignedSmallint.py
浏览文件 @
ce6e62a8
...
...
@@ -562,12 +562,11 @@ class TDTestCase:
tdLog
.
info
(
'drop database db'
)
tdSql
.
execute
(
'drop database db'
)
# TSIM: sql show databases
time
.
sleep
(
1
)
tdLog
.
info
(
'show databases'
)
tdSql
.
query
(
'show databases'
)
# TSIM: if $rows != 0 then
tdLog
.
info
(
'tdSql.checkRow(
1
)'
)
tdSql
.
checkRows
(
1
)
tdLog
.
info
(
'tdSql.checkRow(
0
)'
)
tdSql
.
checkRows
(
0
)
# TSIM: return -1
# TSIM: endi
# TSIM:
...
...
tests/pytest/tag_lite/unsignedTinyint.py
浏览文件 @
ce6e62a8
...
...
@@ -562,12 +562,11 @@ class TDTestCase:
tdLog
.
info
(
'drop database db'
)
tdSql
.
execute
(
'drop database db'
)
# TSIM: sql show databases
time
.
sleep
(
1
)
tdLog
.
info
(
'show databases'
)
tdSql
.
query
(
'show databases'
)
# TSIM: if $rows != 0 then
tdLog
.
info
(
'tdSql.checkRow(
1
)'
)
tdSql
.
checkRows
(
1
)
tdLog
.
info
(
'tdSql.checkRow(
0
)'
)
tdSql
.
checkRows
(
0
)
# TSIM: return -1
# TSIM: endi
# TSIM:
...
...
tests/pytest/tools/taosdumpTest.py
浏览文件 @
ce6e62a8
...
...
@@ -101,9 +101,8 @@ class TDTestCase:
tdSql
.
execute
(
"drop database db"
)
tdSql
.
execute
(
"drop database db1"
)
time
.
sleep
(
1
)
tdSql
.
query
(
"show databases"
)
tdSql
.
checkRows
(
1
)
tdSql
.
checkRows
(
0
)
os
.
system
(
"%s -i ./taosdumptest/tmp1"
%
binPath
)
os
.
system
(
"%s -i ./taosdumptest/tmp2"
%
binPath
)
...
...
tests/pytest/tools/taosdumpTest2.py
浏览文件 @
ce6e62a8
...
...
@@ -94,9 +94,8 @@ class TDTestCase:
binPath
)
tdSql
.
execute
(
"drop database db"
)
time
.
sleep
(
1
)
tdSql
.
query
(
"show databases"
)
tdSql
.
checkRows
(
1
)
tdSql
.
checkRows
(
0
)
os
.
system
(
"%s -i ./taosdumptest/tmp -y"
%
binPath
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录