Skip to content

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

Open
rahul2393 wants to merge 1 commit into
mainfrom
deflake-omni-test
Open

test(spanner): deflake R/W transaction test with in-memory harness test for omni#13514
rahul2393 wants to merge 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Merge the pull request once unit tests and other checks pass.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants