Skip to content

Commit

Permalink
sleep 16
Browse files Browse the repository at this point in the history
  • Loading branch information
vagetablechicken committed Jun 27, 2024
1 parent 774bc3e commit 9cb4cfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/sql_cmd_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1284,7 +1284,7 @@ TEST_P(DBSDKTest, Truncate) {
sr->ExecuteSQL(absl::StrCat("insert into ", table_name, " values ('", key, "', 11, ", ts, ");"), &status);
}
}
absl::SleepFor(absl::Seconds(8)); // sleep more to avoid truncate failed on partition offset mismatch
absl::SleepFor(absl::Seconds(16)); // sleep more to avoid truncate failed on partition offset mismatch

res = sr->ExecuteSQL(absl::StrCat("select * from ", table_name, ";"), &status);
ASSERT_EQ(res->Size(), 100);
Expand Down

0 comments on commit 9cb4cfe

Please sign in to comment.