From 9cb4cfe47afeba1dc561d809286486d1d9722b57 Mon Sep 17 00:00:00 2001 From: HuangWei Date: Thu, 27 Jun 2024 07:25:32 +0000 Subject: [PATCH] sleep 16 --- src/cmd/sql_cmd_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/sql_cmd_test.cc b/src/cmd/sql_cmd_test.cc index 43f31138fcf..0b29ae449cd 100644 --- a/src/cmd/sql_cmd_test.cc +++ b/src/cmd/sql_cmd_test.cc @@ -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);