fixed missing error codes

This commit is contained in:
HaHaJeff
2024-05-24 05:24:21 +00:00
committed by ob-robot
parent afe60e724b
commit d43df89ee1
2 changed files with 3 additions and 1 deletions

View File

@ -76,6 +76,7 @@ public:
}
if (OB_ISNULL(log_service)) {
ret = OB_ERR_UNEXPECTED;
CLOG_LOG(ERROR, "get_log_service failed");
} else if (FALSE_IT(rpc_proxy = log_service->get_rpc_proxy())) {
} else if (FALSE_IT(self = log_service->get_self())) {
@ -137,4 +138,4 @@ int main(int argc, char **argv)
oceanbase::unittest::replica_num_arg = strtol(argv[4], NULL, 10);
}
RUN_SIMPLE_LOG_CLUSTER_TEST(TEST_NAME);
}
}