From e09d83a79e7b2aaae109b986a624941d6192158e Mon Sep 17 00:00:00 2001 From: Abhinab Saha Date: Tue, 15 Oct 2024 05:46:50 +0000 Subject: [PATCH] [#24346] ASH: Fix flaky test WaitStateITest.UniqueRpcRequestId on TSAN Summary: Inserting 10000 rows seems to be too slow for TSAN builds, this diff reduces the number of rows to 1000 Jira: DB-13256 Test Plan: Jenkins: test regex: UniqueRpcRequestId Reviewers: ishan.chhangani Reviewed By: ishan.chhangani Subscribers: svc_phabricator, ybase Differential Revision: https://phorge.dev.yugabyte.com/D39043 --- src/yb/integration-tests/wait_states-itest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yb/integration-tests/wait_states-itest.cc b/src/yb/integration-tests/wait_states-itest.cc index b21c78d97b9b..6750f9436c87 100644 --- a/src/yb/integration-tests/wait_states-itest.cc +++ b/src/yb/integration-tests/wait_states-itest.cc @@ -211,7 +211,7 @@ class WaitStateITest : public pgwrapper::PgMiniTestBase { }; TEST_F(WaitStateITest, UniqueRpcRequestId) { - const int NumKeys = 10000; + const int NumKeys = 1000; auto conn = ASSERT_RESULT(Connect()); ASSERT_OK(conn.Execute("CREATE TABLE bankaccounts (id INT PRIMARY KEY, balance INT)")); ASSERT_OK(conn.Execute("CREATE INDEX bankaccountsidx ON bankaccounts (id, balance)"));