Skip to content

test(spanner): deflake R/W transaction test with in-memory harness test for omni - #13514

Merged
rahul2393 merged 1 commit into
mainfrom
deflake-omni-test
Jun 19, 2026
Merged

test(spanner): deflake R/W transaction test with in-memory harness test for omni#13514
rahul2393 merged 1 commit into
mainfrom
deflake-omni-test

Conversation

@rahul2393

Copy link
Copy Markdown
Contributor

No description provided.

@rahul2393
rahul2393 requested review from a team as code owners June 18, 2026 09:02
@rahul2393
rahul2393 requested a review from sakthivelmanii June 18, 2026 09:02

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates a test assertion in LocationAwareSharedBackendReplicaHarnessTest.java to verify that the first replica index is not -1, rather than strictly checking if it is 1. The review feedback suggests strengthening this assertion to explicitly verify that the index is either 0 or 1, preventing potential out-of-bounds calculations in subsequent lines.

@rahul2393 rahul2393 added the automerge Merge the pull request once unit tests and other checks pass. label Jun 18, 2026
@rahul2393
rahul2393 merged commit 40f72f7 into main Jun 19, 2026
181 of 182 checks passed
@rahul2393
rahul2393 deleted the deflake-omni-test branch June 19, 2026 04:35
@gcf-merge-on-green gcf-merge-on-green Bot removed the automerge Merge the pull request once unit tests and other checks pass. label Jun 19, 2026
lqiu96 pushed a commit that referenced this pull request Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants