Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
yiguolei committed Dec 27, 2024
1 parent fd15fc9 commit 307fd0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion be/test/olap/wal/wal_manager_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class WalManagerTest : public testing::Test {
void SetUp() override {
prepare();
_env = ExecEnv::GetInstance();
_env->_cluster_info = std::move(std::make_unique<ClusterInfo>());
_env->_cluster_info = std::make_unique<ClusterInfo>();
_env->_cluster_info->master_fe_addr.hostname = "host name";
_env->_cluster_info->master_fe_addr.port = 1234;
_env->_cluster_info->backend_id = 1001;
Expand Down
2 changes: 1 addition & 1 deletion be/test/vec/exec/vfile_scanner_exception_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ void VfileScannerExceptionTest::init() {
_kv_cache.reset(new ShardedKVCache(48));

_env = ExecEnv::GetInstance();
_env->_cluster_info = std::move(std::make_unique<ClusterInfo>());
_env->_cluster_info = std::make_unique<ClusterInfo>();
_env->_cluster_info->master_fe_addr.hostname = "host name";
_env->_cluster_info->master_fe_addr.port = _backend_id;
_env->_cluster_info->backend_id = 1001;
Expand Down

0 comments on commit 307fd0f

Please sign in to comment.