Skip to content

chore(spanner): await producer entry into row 2 before returning DONE in AsyncResultSetImplLifecycleAndConcurrencyTest - #15453

Open
jinseopkim0 wants to merge 1 commit into
mainfrom
chore/fix-spanner-async-resultset-test-race
Open

jinseopkim0 wants to merge 1 commit into
mainfrom
chore/fix-spanner-async-resultset-test-race

Conversation

@jinseopkim0

Copy link
Copy Markdown
Contributor

b/593306935 - Wait for producer entry into row 2 before returning CallbackResponse.DONE in testCancelAfterCallbackDoneWhileProducerStillRunningPreservesDoneState.

… in AsyncResultSetImplLifecycleAndConcurrencyTest

@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 callback in AsyncResultSetImplLifecycleAndConcurrencyTest.java to wait for producerInRow2Latch before proceeding. The review feedback recommends preserving the exception chain when catching InterruptedException and throwing AssertionError by using a constructor that accepts both a message and the cause, rather than passing the exception directly to new AssertionError(Object).

@jinseopkim0
jinseopkim0 marked this pull request as ready for review December 4, 2026 20:56
@jinseopkim0
jinseopkim0 requested review from a team as code owners December 4, 2026 20:56
@jinseopkim0
jinseopkim0 enabled auto-merge (squash) December 4, 2026 20:56

This branch has not been deployed

No deployments
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.

1 participant