提交 b84c5332 编写于 作者: L lichuang

[TD-3963]sleep more time to see test result

上级 e90378b3
...@@ -51,7 +51,7 @@ class TDTestCase: ...@@ -51,7 +51,7 @@ class TDTestCase:
tdSql.execute( tdSql.execute(
"insert into tb%d values (now - %dm, %d, %d)" % "insert into tb%d values (now - %dm, %d, %d)" %
(i, 1440 - j, j, j)) (i, 1440 - j, j, j))
time.sleep(0.1) time.sleep(1)
self.createFuncStream("count(*)", "c1", rowNum) self.createFuncStream("count(*)", "c1", rowNum)
self.createFuncStream("count(tbcol)", "c2", rowNum) self.createFuncStream("count(tbcol)", "c2", rowNum)
......
...@@ -4,7 +4,7 @@ import sys ...@@ -4,7 +4,7 @@ import sys
from util.log import * from util.log import *
from util.cases import * from util.cases import *
from util.sql import * from util.sql import *
import time
class TDTestCase: class TDTestCase:
def init(self, conn, logSql): def init(self, conn, logSql):
...@@ -114,6 +114,7 @@ class TDTestCase: ...@@ -114,6 +114,7 @@ class TDTestCase:
# TSIM: endw # TSIM: endw
# TSIM: # TSIM:
# TSIM: print =============== step2 # TSIM: print =============== step2
time.sleep(1)
tdLog.info('=============== step2') tdLog.info('=============== step2')
# TSIM: sleep 100 # TSIM: sleep 100
# TSIM: sql select * from $tb # TSIM: sql select * from $tb
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册