提交 ce6e62a8 编写于 作者: G Ganlin Zhao

revert test cases

上级 4672f87d
...@@ -71,7 +71,7 @@ class TDTestCase: ...@@ -71,7 +71,7 @@ class TDTestCase:
time.sleep(3) time.sleep(3)
ret = tdSql.query('show vnodes "{}"'.format(dnodeEndpoint)) ret = tdSql.query('show vnodes "{}"'.format(dnodeEndpoint))
tdSql.checkRows(2) tdSql.checkRows(1)
tdSql.checkData(0, 0, 2) tdSql.checkData(0, 0, 2)
tdSql.checkData(0, 1, "leader") tdSql.checkData(0, 1, "leader")
......
...@@ -70,7 +70,6 @@ class TDTestCase: ...@@ -70,7 +70,6 @@ class TDTestCase:
tdSql.error("select * from dev_001 where \"name\" = 'first'") tdSql.error("select * from dev_001 where \"name\" = 'first'")
# TS-1577 # TS-1577
time.sleep(1)
tdSql.query("show databases") tdSql.query("show databases")
rows = tdSql.queryRows rows = tdSql.queryRows
......
...@@ -108,8 +108,8 @@ class TDTestCase: ...@@ -108,8 +108,8 @@ class TDTestCase:
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(1)') tdLog.info('tdSql.checkRow(0)')
tdSql.checkRows(1) tdSql.checkRows(0)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# convert end # convert end
......
...@@ -1312,12 +1312,11 @@ class TDTestCase: ...@@ -1312,12 +1312,11 @@ class TDTestCase:
tdLog.info('drop database db') tdLog.info('drop database db')
tdSql.execute('drop database db') tdSql.execute('drop database db')
# TSIM: sql show databases # TSIM: sql show databases
time.sleep(1)
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(1)') tdLog.info('tdSql.checkRow(0)')
tdSql.checkRows(1) tdSql.checkRows(0)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -1855,13 +1855,12 @@ class TDTestCase: ...@@ -1855,13 +1855,12 @@ class TDTestCase:
# TSIM: sql drop database $db # TSIM: sql drop database $db
tdLog.info('drop database db') tdLog.info('drop database db')
tdSql.execute('drop database db') tdSql.execute('drop database db')
time.sleep(1)
# TSIM: sql show databases # TSIM: sql show databases
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(1)') tdLog.info('tdSql.checkRow(0)')
tdSql.checkRows(1) tdSql.checkRows(0)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -2283,13 +2283,12 @@ class TDTestCase: ...@@ -2283,13 +2283,12 @@ class TDTestCase:
# TSIM: sql drop database $db # TSIM: sql drop database $db
tdLog.info('drop database db') tdLog.info('drop database db')
tdSql.execute('drop database db') tdSql.execute('drop database db')
time.sleep(1)
# TSIM: sql show databases # TSIM: sql show databases
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(1)') tdLog.info('tdSql.checkRow(0)')
tdSql.checkRows(1) tdSql.checkRows(0)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -2732,12 +2732,11 @@ class TDTestCase: ...@@ -2732,12 +2732,11 @@ class TDTestCase:
tdLog.info('drop database db') tdLog.info('drop database db')
tdSql.execute('drop database db') tdSql.execute('drop database db')
# TSIM: sql show databases # TSIM: sql show databases
time.sleep(1)
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(1)') tdLog.info('tdSql.checkRow(0)')
tdSql.checkRows(1) tdSql.checkRows(0)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -2056,12 +2056,11 @@ class TDTestCase: ...@@ -2056,12 +2056,11 @@ class TDTestCase:
tdLog.info('sql drop database db') tdLog.info('sql drop database db')
tdSql.execute('drop database db') tdSql.execute('drop database db')
# TSIM: sql show databases # TSIM: sql show databases
time.sleep(1)
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(1)') tdLog.info('tdSql.checkRow(0)')
tdSql.checkRows(1) tdSql.checkRows(0)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -562,12 +562,11 @@ class TDTestCase: ...@@ -562,12 +562,11 @@ class TDTestCase:
tdLog.info('drop database db') tdLog.info('drop database db')
tdSql.execute('drop database db') tdSql.execute('drop database db')
# TSIM: sql show databases # TSIM: sql show databases
time.sleep(1)
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(1)') tdLog.info('tdSql.checkRow(0)')
tdSql.checkRows(1) tdSql.checkRows(0)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -566,12 +566,11 @@ class TDTestCase: ...@@ -566,12 +566,11 @@ class TDTestCase:
tdLog.info('drop database db') tdLog.info('drop database db')
tdSql.execute('drop database db') tdSql.execute('drop database db')
# TSIM: sql show databases # TSIM: sql show databases
time.sleep(1)
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(1)') tdLog.info('tdSql.checkRow(0)')
tdSql.checkRows(1) tdSql.checkRows(0)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -777,12 +777,11 @@ class TDTestCase: ...@@ -777,12 +777,11 @@ class TDTestCase:
tdLog.info('drop database db') tdLog.info('drop database db')
tdSql.execute('drop database db') tdSql.execute('drop database db')
# TSIM: sql show databases # TSIM: sql show databases
time.sleep(1)
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(1)') tdLog.info('tdSql.checkRow(0)')
tdSql.checkRows(1) tdSql.checkRows(0)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -561,12 +561,11 @@ class TDTestCase: ...@@ -561,12 +561,11 @@ class TDTestCase:
tdLog.info('drop database db') tdLog.info('drop database db')
tdSql.execute('drop database db') tdSql.execute('drop database db')
# TSIM: sql show databases # TSIM: sql show databases
time.sleep(1)
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(1)') tdLog.info('tdSql.checkRow(0)')
tdSql.checkRows(1) tdSql.checkRows(0)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -771,12 +771,11 @@ class TDTestCase: ...@@ -771,12 +771,11 @@ class TDTestCase:
tdLog.info('drop database db') tdLog.info('drop database db')
tdSql.execute('drop database db') tdSql.execute('drop database db')
# TSIM: sql show databases # TSIM: sql show databases
time.sleep(1)
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(1)') tdLog.info('tdSql.checkRow(0)')
tdSql.checkRows(1) tdSql.checkRows(0)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -803,12 +803,11 @@ class TDTestCase: ...@@ -803,12 +803,11 @@ class TDTestCase:
tdLog.info('drop database db') tdLog.info('drop database db')
tdSql.execute('drop database db') tdSql.execute('drop database db')
# TSIM: sql show databases # TSIM: sql show databases
time.sleep(1)
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(1)') tdLog.info('tdSql.checkRow(0)')
tdSql.checkRows(1) tdSql.checkRows(0)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -925,12 +925,11 @@ class TDTestCase: ...@@ -925,12 +925,11 @@ class TDTestCase:
tdLog.info('drop database db') tdLog.info('drop database db')
tdSql.execute('drop database db') tdSql.execute('drop database db')
# TSIM: sql show databases # TSIM: sql show databases
time.sleep(1)
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(1)') tdLog.info('tdSql.checkRow(0)')
tdSql.checkRows(1) tdSql.checkRows(0)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -177,12 +177,11 @@ class TDTestCase: ...@@ -177,12 +177,11 @@ class TDTestCase:
tdLog.info('drop database db') tdLog.info('drop database db')
tdSql.execute('drop database db') tdSql.execute('drop database db')
# TSIM: sql show databases # TSIM: sql show databases
time.sleep(1)
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(1)') tdLog.info('tdSql.checkRow(0)')
tdSql.checkRows(1) tdSql.checkRows(0)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -2301,12 +2301,11 @@ class TDTestCase: ...@@ -2301,12 +2301,11 @@ class TDTestCase:
tdLog.info('drop database db') tdLog.info('drop database db')
tdSql.execute('drop database db') tdSql.execute('drop database db')
# TSIM: sql show databases # TSIM: sql show databases
time.sleep(1)
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(1)') tdLog.info('tdSql.checkRow(0)')
tdSql.checkRows(1) tdSql.checkRows(0)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -1698,12 +1698,11 @@ class TDTestCase: ...@@ -1698,12 +1698,11 @@ class TDTestCase:
tdLog.info('drop database db') tdLog.info('drop database db')
tdSql.execute('drop database db') tdSql.execute('drop database db')
# TSIM: sql show databases # TSIM: sql show databases
time.sleep(1)
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(1)') tdLog.info('tdSql.checkRow(0)')
tdSql.checkRows(1) tdSql.checkRows(0)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -562,12 +562,11 @@ class TDTestCase: ...@@ -562,12 +562,11 @@ class TDTestCase:
tdLog.info('drop database db') tdLog.info('drop database db')
tdSql.execute('drop database db') tdSql.execute('drop database db')
# TSIM: sql show databases # TSIM: sql show databases
time.sleep(1)
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(1)') tdLog.info('tdSql.checkRow(0)')
tdSql.checkRows(1) tdSql.checkRows(0)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -352,12 +352,11 @@ class TDTestCase: ...@@ -352,12 +352,11 @@ class TDTestCase:
tdLog.info('drop database db') tdLog.info('drop database db')
tdSql.execute('drop database db') tdSql.execute('drop database db')
# TSIM: sql show databases # TSIM: sql show databases
time.sleep(1)
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(1)') tdLog.info('tdSql.checkRow(0)')
tdSql.checkRows(1) tdSql.checkRows(0)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -562,12 +562,11 @@ class TDTestCase: ...@@ -562,12 +562,11 @@ class TDTestCase:
tdLog.info('drop database db') tdLog.info('drop database db')
tdSql.execute('drop database db') tdSql.execute('drop database db')
# TSIM: sql show databases # TSIM: sql show databases
time.sleep(1)
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(1)') tdLog.info('tdSql.checkRow(0)')
tdSql.checkRows(1) tdSql.checkRows(0)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -561,12 +561,11 @@ class TDTestCase: ...@@ -561,12 +561,11 @@ class TDTestCase:
tdLog.info('drop database db') tdLog.info('drop database db')
tdSql.execute('drop database db') tdSql.execute('drop database db')
# TSIM: sql show databases # TSIM: sql show databases
time.sleep(1)
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(1)') tdLog.info('tdSql.checkRow(0)')
tdSql.checkRows(1) tdSql.checkRows(0)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -769,12 +769,11 @@ class TDTestCase: ...@@ -769,12 +769,11 @@ class TDTestCase:
tdLog.info('drop database db') tdLog.info('drop database db')
tdSql.execute('drop database db') tdSql.execute('drop database db')
# TSIM: sql show databases # TSIM: sql show databases
time.sleep(1)
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(1)') tdLog.info('tdSql.checkRow(0)')
tdSql.checkRows(1) tdSql.checkRows(0)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -805,12 +805,11 @@ class TDTestCase: ...@@ -805,12 +805,11 @@ class TDTestCase:
tdLog.info('drop database db') tdLog.info('drop database db')
tdSql.execute('drop database db') tdSql.execute('drop database db')
# TSIM: sql show databases # TSIM: sql show databases
time.sleep(1)
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(1)') tdLog.info('tdSql.checkRow(0)')
tdSql.checkRows(1) tdSql.checkRows(0)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -876,12 +876,11 @@ class TDTestCase: ...@@ -876,12 +876,11 @@ class TDTestCase:
tdLog.info('drop database db') tdLog.info('drop database db')
tdSql.execute('drop database db') tdSql.execute('drop database db')
# TSIM: sql show databases # TSIM: sql show databases
time.sleep(1)
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(1)') tdLog.info('tdSql.checkRow(0)')
tdSql.checkRows(1) tdSql.checkRows(0)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -562,12 +562,11 @@ class TDTestCase: ...@@ -562,12 +562,11 @@ class TDTestCase:
tdLog.info('drop database db') tdLog.info('drop database db')
tdSql.execute('drop database db') tdSql.execute('drop database db')
# TSIM: sql show databases # TSIM: sql show databases
time.sleep(1)
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(1)') tdLog.info('tdSql.checkRow(0)')
tdSql.checkRows(1) tdSql.checkRows(0)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -562,12 +562,11 @@ class TDTestCase: ...@@ -562,12 +562,11 @@ class TDTestCase:
tdLog.info('drop database db') tdLog.info('drop database db')
tdSql.execute('drop database db') tdSql.execute('drop database db')
# TSIM: sql show databases # TSIM: sql show databases
time.sleep(1)
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(1)') tdLog.info('tdSql.checkRow(0)')
tdSql.checkRows(1) tdSql.checkRows(0)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -562,12 +562,11 @@ class TDTestCase: ...@@ -562,12 +562,11 @@ class TDTestCase:
tdLog.info('drop database db') tdLog.info('drop database db')
tdSql.execute('drop database db') tdSql.execute('drop database db')
# TSIM: sql show databases # TSIM: sql show databases
time.sleep(1)
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(1)') tdLog.info('tdSql.checkRow(0)')
tdSql.checkRows(1) tdSql.checkRows(0)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -563,12 +563,11 @@ class TDTestCase: ...@@ -563,12 +563,11 @@ class TDTestCase:
tdLog.info('drop database db') tdLog.info('drop database db')
tdSql.execute('drop database db') tdSql.execute('drop database db')
# TSIM: sql show databases # TSIM: sql show databases
time.sleep(1)
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(1)') tdLog.info('tdSql.checkRow(0)')
tdSql.checkRows(1) tdSql.checkRows(0)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -562,12 +562,11 @@ class TDTestCase: ...@@ -562,12 +562,11 @@ class TDTestCase:
tdLog.info('drop database db') tdLog.info('drop database db')
tdSql.execute('drop database db') tdSql.execute('drop database db')
# TSIM: sql show databases # TSIM: sql show databases
time.sleep(1)
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(1)') tdLog.info('tdSql.checkRow(0)')
tdSql.checkRows(1) tdSql.checkRows(0)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -562,12 +562,11 @@ class TDTestCase: ...@@ -562,12 +562,11 @@ class TDTestCase:
tdLog.info('drop database db') tdLog.info('drop database db')
tdSql.execute('drop database db') tdSql.execute('drop database db')
# TSIM: sql show databases # TSIM: sql show databases
time.sleep(1)
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(1)') tdLog.info('tdSql.checkRow(0)')
tdSql.checkRows(1) tdSql.checkRows(0)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -101,9 +101,8 @@ class TDTestCase: ...@@ -101,9 +101,8 @@ class TDTestCase:
tdSql.execute("drop database db") tdSql.execute("drop database db")
tdSql.execute("drop database db1") tdSql.execute("drop database db1")
time.sleep(1)
tdSql.query("show databases") tdSql.query("show databases")
tdSql.checkRows(1) tdSql.checkRows(0)
os.system("%s -i ./taosdumptest/tmp1" % binPath) os.system("%s -i ./taosdumptest/tmp1" % binPath)
os.system("%s -i ./taosdumptest/tmp2" % binPath) os.system("%s -i ./taosdumptest/tmp2" % binPath)
......
...@@ -94,9 +94,8 @@ class TDTestCase: ...@@ -94,9 +94,8 @@ class TDTestCase:
binPath) binPath)
tdSql.execute("drop database db") tdSql.execute("drop database db")
time.sleep(1)
tdSql.query("show databases") tdSql.query("show databases")
tdSql.checkRows(1) tdSql.checkRows(0)
os.system("%s -i ./taosdumptest/tmp -y" % binPath) 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.
先完成此消息的编辑!
想要评论请 注册