fix crash

This commit is contained in:
Shengliang Guan 2022-02-24 19:47:24 +08:00
parent 546d3e84d5
commit d15e60d1ce
1 changed files with 1 additions and 4 deletions

View File

@ -40,10 +40,7 @@ void Testbase::InitLog(const char* path) {
}
void Testbase::Init(const char* path, int16_t port) {
SDnodeEnvCfg cfg = {0};
cfg.numOfCommitThreads = 1;
cfg.numOfCores = 1;
dndInit(&cfg);
dndInit();
char fqdn[] = "localhost";
char firstEp[TSDB_EP_LEN] = {0};