Skip to content

Commit

Permalink
[#24346] ASH: Fix flaky test WaitStateITest.UniqueRpcRequestId on TSAN
Browse files Browse the repository at this point in the history
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
  • Loading branch information
abhinab-yb committed Oct 15, 2024
1 parent 9b34b6e commit e09d83a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/yb/integration-tests/wait_states-itest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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)"));
Expand Down

0 comments on commit e09d83a

Please sign in to comment.