fix(test): update test case.
This commit is contained in:
parent
4c27af9b13
commit
d73fd5492a
|
@ -1513,7 +1513,9 @@ static int32_t mndRetrieveStream(SRpcMsg *pReq, SShowObj *pShow, SSDataBlock *pB
|
|||
|
||||
// checkpoint interval
|
||||
char tmp[20 + VARSTR_HEADER_SIZE] = {0};
|
||||
STR_TO_VARSTR(tmp, "none")
|
||||
sprintf(varDataVal(tmp), "%d sec", tsStreamCheckpointInterval);
|
||||
varDataSetLen(tmp, strlen(varDataVal(tmp)));
|
||||
|
||||
pColInfo = taosArrayGet(pBlock->pDataBlock, cols++);
|
||||
colDataSetVal(pColInfo, numOfRows, (const char *)tmp, false);
|
||||
|
||||
|
|
|
@ -222,7 +222,7 @@ class TDTestCase:
|
|||
|
||||
tdSql.query("select * from information_schema.ins_columns where db_name ='information_schema'")
|
||||
tdLog.info(len(tdSql.queryResult))
|
||||
tdSql.checkEqual(True, len(tdSql.queryResult) in range(253, 254))
|
||||
tdSql.checkEqual(True, len(tdSql.queryResult) in range(254, 255))
|
||||
|
||||
tdSql.query("select * from information_schema.ins_columns where db_name ='performance_schema'")
|
||||
tdSql.checkEqual(54, len(tdSql.queryResult))
|
||||
|
|
Loading…
Reference in New Issue