提交 941255d7 编写于 作者: A Alex Duan

extent check timeout to avoid failed

上级 8778c55f
......@@ -972,7 +972,7 @@ void splitStreamSql(const char *str, char **sql, char **to, char **split) {
return ;
}
// SQL value
int32_t len = p1 - str - LABEL_SQL_LEN;
int32_t len = (int32_t)(p1 - str - LABEL_SQL_LEN);
*sql = (char *)tmalloc(len + 1);
strncpy(*sql, str + LABEL_SQL_LEN, len);
(*sql)[len] = 0; // str end
......
......@@ -47,7 +47,7 @@ class TDTestCase:
"select * from iostrm",
]
for sql in sqls:
(rows, _) = tdSql.waitedQuery(sql, 1, 240)
(rows, _) = tdSql.waitedQuery(sql, 1, 600)
if rows < 1:
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.
先完成此消息的编辑!
想要评论请 注册