test:plug taosdShell.py for TD-19944

This commit is contained in:
chenhaoran 2022-10-28 09:44:44 +08:00
parent d7f3d3aa7b
commit 08c1648a14
1 changed files with 5 additions and 0 deletions

View File

@ -134,7 +134,11 @@ class TDTestCase:
tdSql.query("create stream s1 into source_db.output_stb as select _wstart AS start, min(k), max(k), sum(k) from source_db.stb interval(10m);")
#TD-19944 -Q=3
tdsqlN=tdCom.newTdSql()
tdsqlN.query("select * from source_db.stb")
tdsqlN.query("select * from db0.stb")
def run(self):
# tdSql.prepare()
@ -164,6 +168,7 @@ class TDTestCase:
startAction = " -s -c " + taosdCfgPath
tdLog.printNoPrefix("================================ parameter: %s"%startAction)
self.taosdCommandExe(startAction,taosdCmdRun)
os.system(" rm -rf sdb.json ")
startAction = " --help"