Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bobhan1 committed Dec 19, 2024
1 parent 472155c commit 81719fd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions be/test/olap/segments_key_bounds_truncation_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,7 @@ TEST_F(SegmentsKeyBoundsTruncationTest, OrderedCompactionTest) {
config::ordered_data_compaction_min_segment_size = 1;

{
config::enable_segments_key_bounds_truncation = false;
TabletSharedPtr tablet = create_tablet(*tablet_schema, false);
EXPECT_TRUE(io::global_local_filesystem()->create_directory(tablet->tablet_path()).ok());
std::vector<std::vector<std::string>> data {{"aaaaaaaaa", "bbbbbcccccc"},
Expand All @@ -655,8 +656,6 @@ TEST_F(SegmentsKeyBoundsTruncationTest, OrderedCompactionTest) {
cu_compaction._input_rowsets = std::move(input_rowsets);
EXPECT_TRUE(cu_compaction.handle_ordered_data_compaction());
EXPECT_EQ(cu_compaction._input_rowsets.size(), data.size());
std::cout << fmt::format("output_rowset version={}\n",
cu_compaction._output_rowset->version().to_string());
}

{
Expand Down

0 comments on commit 81719fd

Please sign in to comment.