提交 b73d08c7 编写于 作者: J jiacy-jcy

update

上级 f9395388
......@@ -24,6 +24,7 @@ class TDTestCase:
tdLog.debug("start to execute %s" % __file__)
tdSql.init(conn.cursor())
self.dbname = 'db'
self.delaytime = 10
def get_database_info(self):
tdSql.query('select database()')
tdSql.checkData(0,0,None)
......@@ -44,14 +45,14 @@ class TDTestCase:
tdSql.query('select server_status()')
tdSql.checkData(0,0,1)
#!for bug
tdDnodes.stoptaosd(1)
sleep(10)
tdSql.error('select server_status()')
# tdDnodes.stoptaosd(1)
# sleep(self.delaytime)
# tdSql.error('select server_status()')
def run(self):
self.get_database_info()
self.check_version()
# self.get_server_status()
self.get_server_status()
def stop(self):
tdSql.close()
tdLog.success("%s successfully executed" % __file__)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册