Merge pull request #26855 from taosdata/opti/TD-31097

fix:[TD-30882]ci case error in sometimes
This commit is contained in:
dapan1121 2024-07-30 10:19:31 +08:00 committed by GitHub
commit 235712b79e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View File

@ -489,6 +489,7 @@ static int32_t monitorReadSend(int64_t clusterId, TdFilePtr pFile, int64_t* offs
SAppInstInfo* pInst = getAppInstByClusterId(clusterId); SAppInstInfo* pInst = getAppInstByClusterId(clusterId);
if (pInst == NULL) { if (pInst == NULL) {
tscError("failed to get app instance by clusterId:%" PRId64, clusterId); tscError("failed to get app instance by clusterId:%" PRId64, clusterId);
taosMemoryFree(fileName);
return terrno; return terrno;
} }
SEpSet ep = getEpSet_s(&pInst->mgmtEp); SEpSet ep = getEpSet_s(&pInst->mgmtEp);

View File

@ -51,7 +51,9 @@ class TDTestCase:
for i in range(rowCnt): for i in range(rowCnt):
results.append(tdSql.getData(i,1)) results.append(tdSql.getData(i,1))
tdSql.query("select * from st1 order by groupid,_wstart") sql = "select * from st1 order by groupid,_wstart"
tdSql.check_rows_loop(rowCnt, sql, loopCount=100, waitTime=0.5)
tdSql.checkRows(rowCnt) tdSql.checkRows(rowCnt)
for i in range(rowCnt): for i in range(rowCnt):
data1 = tdSql.getData(i,1) data1 = tdSql.getData(i,1)