diff --git a/be/test/olap/segments_key_bounds_truncation_test.cpp b/be/test/olap/segments_key_bounds_truncation_test.cpp index 30e08d5c4f9f19e..ab00b6e460d1116 100644 --- a/be/test/olap/segments_key_bounds_truncation_test.cpp +++ b/be/test/olap/segments_key_bounds_truncation_test.cpp @@ -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> data {{"aaaaaaaaa", "bbbbbcccccc"}, @@ -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()); } {