diff --git a/be/test/olap/wal/wal_manager_test.cpp b/be/test/olap/wal/wal_manager_test.cpp index 675a2b99ebc861d..4fdd3ffbeceb82e 100644 --- a/be/test/olap/wal/wal_manager_test.cpp +++ b/be/test/olap/wal/wal_manager_test.cpp @@ -65,6 +65,7 @@ class WalManagerTest : public testing::Test { _env->_stream_load_executor = StreamLoadExecutor::create_unique(_env); _env->_store_paths = {StorePath(std::filesystem::current_path(), 0)}; _env->set_wal_mgr(WalManager::create_unique(_env, wal_dir.string())); + _env->set_ready(); k_stream_load_begin_result = TLoadTxnBeginResult(); } void TearDown() override {