提交 4672f87d 编写于 作者: G Ganlin Zhao

Revert "fix test cases"

This reverts commit 43e95e1a.
上级 136527f6
......@@ -43,7 +43,7 @@ class TDTestCase:
print("==============step2")
tdDnodes.stopAll()
path = tdDnodes.getDnodesRootDir()
path = tdDnodes.getDnodesRootDir()
filename = path + '/dnode1/data/mnode/wal/wal0'
with open(filename, 'rb') as f1:
......@@ -54,7 +54,7 @@ class TDTestCase:
tdDnodes.start(1)
print("==============remove last tow bytes of file 'wal0' and restart taosd")
print("==============step3")
tdSql.execute("use demo;")
tdSql.query('show tables;')
......
......@@ -110,7 +110,7 @@ class TDTestCase:
tdSql.execute("use db")
tdSql.query("show databases")
tdSql.checkRows(3)
tdSql.checkRows(2)
dbresult = tdSql.queryResult
# 6--days,7--keep0,keep1,keep, 12--block,
......
......@@ -101,7 +101,7 @@ class TDTestCase:
os.system("%s -i ./taosdumptest/tmp -y" % binPath)
tdSql.query("show databases")
tdSql.checkRows(2)
tdSql.checkRows(1)
tdSql.checkData(0, 0, 'db')
tdSql.execute("use db")
......@@ -130,7 +130,7 @@ class TDTestCase:
tdSql.execute("drop database test")
tdSql.query("show databases")
tdSql.checkRows(2)
tdSql.checkRows(1)
os.system("%s -i ./taosdumptest/tmp -y" % binPath)
......
......@@ -308,7 +308,7 @@ class TDTestCase:
os.system("%s -i ./taosdumptest/tmp6 -T 8 " % binPath)
tdSql.execute("use dp3")
tdSql.query("show databases")
tdSql.checkRows(2)
tdSql.checkRows(1)
tdSql.checkData(0, 16, 'ns')
tdSql.query("show stables")
tdSql.checkRows(1)
......@@ -325,7 +325,7 @@ class TDTestCase:
os.system("%s -i ./taosdumptest/tmp7 -T 8 " % binPath)
tdSql.execute("use dp3")
tdSql.query("show databases")
tdSql.checkRows(2)
tdSql.checkRows(1)
tdSql.checkData(0, 16, 'ms')
tdSql.query("show stables")
tdSql.checkRows(1)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册