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 307fd0f commit 08af719
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions be/test/vec/exec/vwal_scanner_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ class VWalScannerTest : public testing::Test {
TFileRangeDesc _range_desc;
TFileScanRange _scan_range;
std::unique_ptr<ShardedKVCache> _kv_cache = nullptr;
std::unique_ptr<ClusterInfo> _cluster_info = nullptr;
};

void VWalScannerTest::_init_desc_table() {
Expand Down Expand Up @@ -280,9 +279,8 @@ void VWalScannerTest::init() {
_scan_range.params.format_type = TFileFormatType::FORMAT_WAL;
_kv_cache.reset(new ShardedKVCache(48));

_cluster_info.reset(new ClusterInfo());
_env = ExecEnv::GetInstance();
_env->_cluster_info = _cluster_info.get();
_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 08af719

Please sign in to comment.