提交 2bfc6a90 编写于 作者: D dapan1121

fix bug

上级 23f23a44
...@@ -403,11 +403,13 @@ static void tscSetNextLaunchTimer(SSqlStream *pStream, SSqlObj *pSql) { ...@@ -403,11 +403,13 @@ static void tscSetNextLaunchTimer(SSqlStream *pStream, SSqlObj *pSql) {
return; return;
} }
if (pStream->stime > 0) {
timer = pStream->stime - taosGetTimestamp(pStream->precision); timer = pStream->stime - taosGetTimestamp(pStream->precision);
if (timer < 0) { if (timer < 0) {
timer = 0; timer = 0;
} }
} }
}
timer += getLaunchTimeDelay(pStream); timer += getLaunchTimeDelay(pStream);
......
...@@ -47,7 +47,7 @@ class TDTestCase: ...@@ -47,7 +47,7 @@ class TDTestCase:
"select * from iostrm", "select * from iostrm",
] ]
for sql in sqls: for sql in sqls:
(rows, _) = tdSql.waitedQuery(sql, 1, 120) (rows, _) = tdSql.waitedQuery(sql, 1, 240)
if rows < 1: if rows < 1:
tdLog.exit("failed: sql:%s, expect at least one row" % sql) tdLog.exit("failed: sql:%s, expect at least one row" % sql)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册