Skip to content

Commit

Permalink
[UT] Fix unstable ut (#54463)
Browse files Browse the repository at this point in the history
Signed-off-by: sevev <[email protected]>
  • Loading branch information
sevev authored Dec 30, 2024
1 parent 42926be commit e4c7296
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions be/test/storage/tablet_updates_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3555,8 +3555,7 @@ TEST_F(TabletUpdatesTest, test_normal_apply_retry) {
ASSERT_TRUE(_tablet->rowset_commit(version, rs).ok());
ASSERT_EQ(version, _tablet->updates()->max_version());

// Wait for a short duration and check error state
std::this_thread::sleep_for(std::chrono::milliseconds(200));
read_tablet(_tablet, version);
ASSERT_TRUE(_tablet->updates()->is_error());

// Disable fail point and reset error
Expand Down

0 comments on commit e4c7296

Please sign in to comment.