Skip to content

Commit a45b1e1

Browse files
committed
[#25407] DocDB: Fix PgGetLockStatusTest.ReceivesWaiterSubtransactionId in gcc11 fastdebug
Summary: Increased kMinTxnAgeSeconds from 1s to 2s to make test more stable. Jira: DB-14639 Test Plan: ./yb_build.sh fastdebug --gcc11 --cxx-test pgwrapper_pg_get_lock_status-test --gtest_filter PgGetLockStatusTest.ReceivesWaiterSubtransactionId -n 40 Reviewers: bkolagani Reviewed By: bkolagani Subscribers: yql, ybase Tags: #jenkins-ready Differential Revision: https://phorge.dev.yugabyte.com/D40847
1 parent 30962ae commit a45b1e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/yb/yql/pgwrapper/pg_get_lock_status-test.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ TEST_F(PgGetLockStatusTest, TestColocatedWaiterWriteLock) {
668668
TEST_F(PgGetLockStatusTest, ReceivesWaiterSubtransactionId) {
669669
const auto table = "foo";
670670
const auto locked_key = "1";
671-
constexpr int kMinTxnAgeSeconds = 1;
671+
constexpr int kMinTxnAgeSeconds = 2;
672672

673673
auto blocker_session = ASSERT_RESULT(Init(table, locked_key));
674674

0 commit comments

Comments
 (0)