Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

test: fix the queryAndThen method in the mock test server#2623

Merged
olavloite merged 1 commit intomainfrom
mock-server-fix-query-and-then
Sep 25, 2023
Merged

test: fix the queryAndThen method in the mock test server#2623
olavloite merged 1 commit intomainfrom
mock-server-fix-query-and-then

Conversation

@olavloite
Copy link
Copy Markdown
Collaborator

The mock server that is used for testing contained a queryAndThen(..) method that did not do anything with the 'and then' part. This PR fixes that, and adds an additional test using that method. That test shows what happens with a bit-reversed sequence when a transaction is aborted.

The mock server that is used for testing contained a queryAndThen(..)
method that did not do anything with the 'and then' part. This PR fixes
that, and adds an additional test using that method. That test shows
what happens with a bit-reversed sequence when a transaction is aborted.
@olavloite olavloite requested review from a team, arpan14 and manu2 September 13, 2023 14:29
@product-auto-label product-auto-label Bot added size: m Pull request size is medium. api: spanner Issues related to the googleapis/java-spanner API. labels Sep 13, 2023
@olavloite olavloite merged commit 9964bd5 into main Sep 25, 2023
@olavloite olavloite deleted the mock-server-fix-query-and-then branch September 25, 2023 08:43
surbhigarg92 pushed a commit to surbhigarg92/java-spanner that referenced this pull request Oct 5, 2023
…#2623)

The mock server that is used for testing contained a queryAndThen(..)
method that did not do anything with the 'and then' part. This PR fixes
that, and adds an additional test using that method. That test shows
what happens with a bit-reversed sequence when a transaction is aborted.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: spanner Issues related to the googleapis/java-spanner API. size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants