Skip to content

Commit

Permalink
[UT] Fix unstable ut (backport #54463) (#54478)
Browse files Browse the repository at this point in the history
Co-authored-by: zhangqiang <[email protected]>
  • Loading branch information
mergify[bot] and sevev authored Dec 30, 2024
1 parent 24761ec commit e7a16d4
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 @@ -3564,8 +3564,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 e7a16d4

Please sign in to comment.