提交 19839996 编写于 作者: A Alex Duan

fix stream/metrics_1.py case

上级 41fae8cc
...@@ -39,7 +39,7 @@ class TDTestCase: ...@@ -39,7 +39,7 @@ class TDTestCase:
def run(self): def run(self):
tbNum = 10 tbNum = 10
rowNum = 20 rowNum = 20
ts_begin = 1617552000000 ts_begin = 1633017600000
tdSql.prepare() tdSql.prepare()
...@@ -51,7 +51,7 @@ class TDTestCase: ...@@ -51,7 +51,7 @@ class TDTestCase:
for j in range(rowNum): for j in range(rowNum):
tdSql.execute( tdSql.execute(
"insert into tb%d values (%d, %d, %d)" % "insert into tb%d values (%d, %d, %d)" %
(i, ts_begin + 1440 - j, j, j)) (i, ts_begin + j, j, j))
time.sleep(0.1) time.sleep(0.1)
self.createFuncStream("count(*)", "c1", 200) self.createFuncStream("count(*)", "c1", 200)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册