Skip to content

Commit

Permalink
add random segment test for CI weekly (#5300)
Browse files Browse the repository at this point in the history
close #5301
  • Loading branch information
hehechen authored Jul 8, 2022
1 parent cbc6a95 commit e58a007
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions dbms/src/Storages/DeltaMerge/tests/gtest_segment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,26 @@ CATCH
TEST_F(SegmentOperationTest, TestSegmentRandom)
try
{
srand(time(nullptr));
SegmentTestOptions options;
options.is_common_handle = true;
reloadWithOptions(options);
randomSegmentTest(100);
}
CATCH

// run in CI weekly
TEST_F(SegmentOperationTest, DISABLED_TestSegmentRandomForCI)
try
{
srand(time(nullptr));
SegmentTestOptions options;
options.is_common_handle = true;
reloadWithOptions(options);
randomSegmentTest(10000);
}
CATCH

} // namespace tests
} // namespace DM
} // namespace DB

0 comments on commit e58a007

Please sign in to comment.