Fix some ci case errors.

This commit is contained in:
xiao-77 2024-12-05 17:00:57 +08:00
parent b7b185fa5f
commit 3a32980577
5 changed files with 5 additions and 5 deletions

View File

@ -1981,7 +1981,7 @@ int32_t cfgDeserialize(SArray *array, char *buf, bool isGlobal) {
int64_t actDiskID = 0;
int64_t expDiskID = atoll(cJSON_GetStringValue(filed));
if (!taosCheckFileDiskID(dir, &actDiskID, expDiskID)) {
uError("failed to check disk id for dir:%s, actDiskID:" PRId64 ", expDiskID:" PRId64, dir, actDiskID,
uError("failed to check disk id for dir:%s, actDiskID%" PRId64 ", expDiskID%" PRId64, dir, actDiskID,
expDiskID);
return TSDB_CODE_FAILED;
}

View File

@ -94,7 +94,7 @@ TEST_F(MndTestProfile, 02_ConnectMsg_NotExistDB) {
TEST_F(MndTestProfile, 03_ConnectMsg_Show) {
test.SendShowReq(TSDB_MGMT_TABLE_CONNS, "perf_connections", "");
EXPECT_EQ(test.GetShowRows(), 8);
EXPECT_EQ(test.GetShowRows(), 1);
}
TEST_F(MndTestProfile, 04_HeartBeatMsg) {

View File

@ -98,7 +98,7 @@ class TDTestCase:
def stop(self):
tdSql.close()
# tdLog.success(f"{__file__} successfully executed")
tdLog.success(f"{__file__} successfully executed")
tdCases.addLinux(__file__, TDTestCase())
tdCases.addWindows(__file__, TDTestCase())

View File

@ -191,7 +191,7 @@ class TDTestCase:
self.value_check(icache, cacheRdbSize, 64)
self.value_check(itableMeta,tableMetaSize, 64)
self.value_check(itsdbSize, tsdbSize, 64)
self.value_check(iwal, walSize, 128)
self.value_check(iwal, walSize, 256)
#if abs(icache - cacheRdbSize) > 12:
# tdLog.error("cache_rdb size is not equal")