feature/qnode
This commit is contained in:
parent
6f41437a15
commit
e31e83360a
|
@ -1384,6 +1384,8 @@ int32_t catalogInit(SCatalogCfg *cfg) {
|
||||||
CTG_ERR_RET(TSDB_CODE_CTG_INVALID_INPUT);
|
CTG_ERR_RET(TSDB_CODE_CTG_INVALID_INPUT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
atomic_store_8(&ctgMgmt.exit, false);
|
||||||
|
|
||||||
if (cfg) {
|
if (cfg) {
|
||||||
memcpy(&ctgMgmt.cfg, cfg, sizeof(*cfg));
|
memcpy(&ctgMgmt.cfg, cfg, sizeof(*cfg));
|
||||||
|
|
||||||
|
|
|
@ -50,7 +50,7 @@ bool ctgTestStop = false;
|
||||||
bool ctgTestEnableSleep = false;
|
bool ctgTestEnableSleep = false;
|
||||||
bool ctgTestDeadLoop = false;
|
bool ctgTestDeadLoop = false;
|
||||||
int32_t ctgTestPrintNum = 200000;
|
int32_t ctgTestPrintNum = 200000;
|
||||||
int32_t ctgTestMTRunSec = 30;
|
int32_t ctgTestMTRunSec = 5;
|
||||||
|
|
||||||
int32_t ctgTestCurrentVgVersion = 0;
|
int32_t ctgTestCurrentVgVersion = 0;
|
||||||
int32_t ctgTestVgVersion = 1;
|
int32_t ctgTestVgVersion = 1;
|
||||||
|
@ -839,6 +839,8 @@ TEST(tableMeta, childTableCase) {
|
||||||
void *mockPointer = (void *)0x1;
|
void *mockPointer = (void *)0x1;
|
||||||
SVgroupInfo vgInfo = {0};
|
SVgroupInfo vgInfo = {0};
|
||||||
|
|
||||||
|
ctgTestInitLogFile();
|
||||||
|
|
||||||
ctgTestSetPrepareDbVgroupsAndChildMeta();
|
ctgTestSetPrepareDbVgroupsAndChildMeta();
|
||||||
|
|
||||||
initQueryModuleMsgHandle();
|
initQueryModuleMsgHandle();
|
||||||
|
|
Loading…
Reference in New Issue