fix bug
This commit is contained in:
parent
23f23a445d
commit
2bfc6a90a5
|
@ -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:
|
||||||
"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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue