Skip to content

Commit

Permalink
ut test
Browse files Browse the repository at this point in the history
  • Loading branch information
vagetablechicken committed Jun 27, 2024
1 parent e65fa28 commit 3141b57
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/tablet/tablet_impl_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6298,13 +6298,13 @@ TEST_F(TabletImplTest, DeleteRange) {
::openmldb::api::ExecuteGcRequest e_request;
e_request.set_tid(id);
e_request.set_pid(1);
// async task, need to wait
// segment: entries -> node cache
tablet.ExecuteGc(NULL, &e_request, &gen_response, &closure);
ASSERT_EQ(0, gen_response.code()) << gen_response.ShortDebugString();
sleep(2);
tablet.ExecuteGc(NULL, &e_request, &gen_response, &closure);
ASSERT_EQ(0, gen_response.code()) << gen_response.ShortDebugString();
sleep(2);
assert_status(0, 0, 1626);
assert_status(0, 0, 0);
// gc node cache
tablet.ExecuteGc(NULL, &e_request, &gen_response, &closure);
ASSERT_EQ(0, gen_response.code()) << gen_response.ShortDebugString();
sleep(2);
Expand Down

0 comments on commit 3141b57

Please sign in to comment.