diff --git a/be/src/runtime/exec_env_init.cpp b/be/src/runtime/exec_env_init.cpp index 5e160c9ad5245f3..aae3ecba048cf1e 100644 --- a/be/src/runtime/exec_env_init.cpp +++ b/be/src/runtime/exec_env_init.cpp @@ -697,7 +697,7 @@ void ExecEnv::set_stream_load_executor(std::unique_ptr&& str void ExecEnv::set_wal_mgr(std::unique_ptr&& wm) { this->_wal_manager = std::move(wm); } -#undef BE_TEST +#endif // TODO(zhiqiang): Need refactor all thread pool. Each thread pool must have a Stop method. // We need to stop all threads before releasing resource. void ExecEnv::destroy() {