Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhannngchen committed Sep 2, 2024
1 parent 85ad8a4 commit 821ea52
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions be/test/olap/segcompaction_mow_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ class SegCompactionMoWTest : public ::testing::TestWithParam<std::string> {
ExecEnv::GetInstance()->set_storage_engine(std::move(engine));

s = ThreadPoolBuilder("SegCompactionTaskThreadPool")
.set_min_threads(config::segcompaction_num_threads)
.set_max_threads(config::segcompaction_num_threads)
.build(&s_engine->_seg_compaction_thread_pool);
.set_min_threads(config::segcompaction_num_threads)
.set_max_threads(config::segcompaction_num_threads)
.build(&s_engine->_seg_compaction_thread_pool);
EXPECT_TRUE(s.ok()) << s.to_string();

_data_dir = std::make_unique<DataDir>(*s_engine, lTestDir);
Expand Down
2 changes: 1 addition & 1 deletion be/test/olap/segcompaction_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ namespace doris {
using namespace ErrorCode;

static const uint32_t MAX_PATH_LEN = 1024;
static StorageEngine* l_engine;
static StorageEngine* l_engine = nullptr;
static const std::string lTestDir = "./data_test/data/segcompaction_test";

class SegCompactionTest : public testing::Test {
Expand Down

0 comments on commit 821ea52

Please sign in to comment.