提交 07f4f68a 编写于 作者: haoranc's avatar haoranc

test: add data and topic of taosdshell cases

上级 b90ffe09
......@@ -159,52 +159,52 @@ class TDTestCase:
tdLog.printNoPrefix("================================ parameter: %s"%startAction)
self.taosdCommandExe(startAction,taosdCmdRun)
# tdDnodes.stop(1)
tdDnodes.stop(1)
# startAction = " --help"
# tdLog.printNoPrefix("================================ parameter: %s"%startAction)
# self.taosdCommandExe(startAction,taosdCmdRun)
startAction = " --help"
tdLog.printNoPrefix("================================ parameter: %s"%startAction)
self.taosdCommandExe(startAction,taosdCmdRun)
# startAction = " -h"
# tdLog.printNoPrefix("================================ parameter: %s"%startAction)
# self.taosdCommandExe(startAction,taosdCmdRun)
startAction = " -h"
tdLog.printNoPrefix("================================ parameter: %s"%startAction)
self.taosdCommandExe(startAction,taosdCmdRun)
# startAction=" -a jsonFile:./taosdCaseTmp.json"
# tdLog.printNoPrefix("================================ parameter: %s"%startAction)
# os.system("echo \'{\"queryPolicy\":\"3\"}\' > taosdCaseTmp.json")
# self.taosdCommandStop(startAction,taosdCmdRun)
startAction=" -a jsonFile:./taosdCaseTmp.json"
tdLog.printNoPrefix("================================ parameter: %s"%startAction)
os.system("echo \'{\"queryPolicy\":\"3\"}\' > taosdCaseTmp.json")
self.taosdCommandStop(startAction,taosdCmdRun)
# startAction = " -a jsonFile:./taosdCaseTmp.json -C "
# tdLog.printNoPrefix("================================ parameter: %s"%startAction)
# self.taosdCommandExe(startAction,taosdCmdRun)
startAction = " -a jsonFile:./taosdCaseTmp.json -C "
tdLog.printNoPrefix("================================ parameter: %s"%startAction)
self.taosdCommandExe(startAction,taosdCmdRun)
# os.system("rm -rf taosdCaseTmp.json")
os.system("rm -rf taosdCaseTmp.json")
# startAction = " -c " + taosdCfgPath
# tdLog.printNoPrefix("================================ parameter: %s"%startAction)
# self.taosdCommandStop(startAction,taosdCmdRun)
startAction = " -c " + taosdCfgPath
tdLog.printNoPrefix("================================ parameter: %s"%startAction)
self.taosdCommandStop(startAction,taosdCmdRun)
# startAction = " -e TAOS_QUERY_POLICY=2 "
# tdLog.printNoPrefix("================================ parameter: %s"%startAction)
# self.taosdCommandStop(startAction,taosdCmdRun)
startAction = " -e TAOS_QUERY_POLICY=2 "
tdLog.printNoPrefix("================================ parameter: %s"%startAction)
self.taosdCommandStop(startAction,taosdCmdRun)
# startAction=" -E taosdCaseTmp/.env"
# tdLog.printNoPrefix("================================ parameter: %s"%startAction)
# os.system(" mkdir -p taosdCaseTmp/.env ")
# os.system("echo \'TAOS_QUERY_POLICY=3\' > taosdCaseTmp/.env ")
# self.taosdCommandStop(startAction,taosdCmdRun)
# os.system(" rm -rf taosdCaseTmp/.env ")
startAction=" -E taosdCaseTmp/.env"
tdLog.printNoPrefix("================================ parameter: %s"%startAction)
os.system(" mkdir -p taosdCaseTmp/.env ")
os.system("echo \'TAOS_QUERY_POLICY=3\' > taosdCaseTmp/.env ")
self.taosdCommandStop(startAction,taosdCmdRun)
os.system(" rm -rf taosdCaseTmp/.env ")
# startAction = " -V"
# tdLog.printNoPrefix("================================ parameter: %s"%startAction)
# self.taosdCommandExe(startAction,taosdCmdRun)
startAction = " -V"
tdLog.printNoPrefix("================================ parameter: %s"%startAction)
self.taosdCommandExe(startAction,taosdCmdRun)
# startAction = " -k"
# tdLog.printNoPrefix("================================ parameter: %s"%startAction)
# self.taosdCommandExe(startAction,taosdCmdRun)
startAction = " -k"
tdLog.printNoPrefix("================================ parameter: %s"%startAction)
self.taosdCommandExe(startAction,taosdCmdRun)
def stop(self):
tdSql.close()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册