Fix ci errors.

This commit is contained in:
xiao-77 2024-11-28 19:06:27 +08:00
parent 37e39cce69
commit e846c5e47b
3 changed files with 5 additions and 3 deletions

View File

@ -475,7 +475,8 @@ int32_t dmProcessConfigReq(SDnodeMgmt *pMgmt, SRpcMsg *pMsg) {
code = cfgGetAndSetItem(pCfg, &pItem, cfgReq.config, cfgReq.value, CFG_STYPE_ALTER_CMD, true);
if (code != 0) {
if (strncasecmp(cfgReq.config, "resetlog", strlen("resetlog")) == 0) {
code = 0;
TAOS_CHECK_RETURN(taosCfgDynamicOptions(pCfg, cfgReq.config, true));
return TSDB_CODE_SUCCESS;
} else {
return code;
}

View File

@ -15,7 +15,8 @@ import sys
import os
import time
import datetime
from distutils.log import warn as printf
from setuptools import logging as printf
class TDLog:

View File

@ -47,7 +47,7 @@ class TDTestCase:
def case2(self):
tdSql.query("show variables")
tdSql.checkRows(95)
tdSql.checkRows(94)
for i in range(self.replicaVar):
tdSql.query("show dnode %d variables like 'debugFlag'" % (i + 1))