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

test: test stream retries in combination with inlined begin#670

Merged
thiagotnunes merged 1 commit intomasterfrom
test-stream-retry-with-inline-begin
Nov 24, 2020
Merged

test: test stream retries in combination with inlined begin#670
thiagotnunes merged 1 commit intomasterfrom
test-stream-retry-with-inline-begin

Conversation

@olavloite
Copy link
Copy Markdown
Collaborator

Adds an additional test case for inlined begin transaction when the first statement is a query. Queries are executed using executeStreamingSql, and if the stream is broken, the original RPC is retried with a resume code. That retry should not include a BeginTransaction option when the transaction has already been initialized by the first RPC.

Adds an additional test case for inlined begin transaction when the first statement is a query.
Queries are executed using executeStreamingSql, and if the stream is broken, the original RPC
is retried with a resume code. That retry should not include a BeginTransaction option when the
transaction has already been initialized by the first RPC.
@olavloite olavloite requested review from a team and thiagotnunes November 24, 2020 17:42
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Nov 24, 2020
@product-auto-label product-auto-label Bot added the api: spanner Issues related to the googleapis/java-spanner API. label Nov 24, 2020
@olavloite olavloite added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 24, 2020
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 24, 2020
@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 24, 2020

Codecov Report

Merging #670 (7555b9b) into master (77ed87c) will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #670      +/-   ##
============================================
+ Coverage     84.06%   84.07%   +0.01%     
  Complexity     2497     2497              
============================================
  Files           141      141              
  Lines         13812    13812              
  Branches       1317     1317              
============================================
+ Hits          11611    11613       +2     
+ Misses         1655     1654       -1     
+ Partials        546      545       -1     
Impacted Files Coverage Δ Complexity Δ
.../com/google/cloud/spanner/AbstractReadContext.java 86.76% <0.00%> (+0.61%) 47.00% <0.00%> (ø%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 77ed87c...7555b9b. Read the comment docs.

@thiagotnunes thiagotnunes merged commit 666b408 into master Nov 24, 2020
@thiagotnunes thiagotnunes deleted the test-stream-retry-with-inline-begin branch November 24, 2020 21:59
thiagotnunes pushed a commit that referenced this pull request May 6, 2021
Adds an additional test case for inlined begin transaction when the first statement is a query.
Queries are executed using executeStreamingSql, and if the stream is broken, the original RPC
is retried with a resume code. That retry should not include a BeginTransaction option when the
transaction has already been initialized by the first RPC.
ansh0l pushed a commit to ansh0l/java-spanner that referenced this pull request Nov 10, 2022
This is an auto-generated regeneration of the .pb.go files by
cloud.google.com/go/internal/gapicgen. Once this PR is submitted, genbot will
update the corresponding PR to depend on the newer version of go-genproto, and
assign reviewers. Whilst this or any regen PR is open in go-genproto, genbot
will not create any more regeneration PRs. If all regen PRs are closed,
gapicgen will create a new set of regeneration PRs once per night.

If you have been assigned to review this PR, please:

- Ensure that CI is passing. If it's failing, it requires your manual attention.
- Approve and submit this PR if you believe it's ready to ship. That will prompt
genbot to assign reviewers to the google-cloud-go PR.

Corresponding google-cloud-go PR: googleapis/google-cloud-go#4725

Changes:

chore: regenerate API index

  Source-Link: googleapis/googleapis@5d91687

feat(osconfig): add OSConfigZonalService API Committer: @jaiminsh
  PiperOrigin-RevId: 394704298
  Source-Link: googleapis/googleapis@31d2d34

feat(asset): Release of relationships in v1, Add content type Relationship to support relationship search Committer: yuwangyw@
  PiperOrigin-RevId: 394579113
  Source-Link: googleapis/googleapis@9c7eb1f

chore: Update orchestration/airflow BUILD.bazel files for nodejs
  PiperOrigin-RevId: 394536640
  Source-Link: googleapis/googleapis@8bc0991

docs: clarified some LRO types
  PiperOrigin-RevId: 394490143
  Source-Link: googleapis/googleapis@e3c419f

chore: adjust namespacing and package name for Metrics Scopes API Committer: @busunkim96
  PiperOrigin-RevId: 394470104
  Source-Link: googleapis/googleapis@52c8913

chore(ruby): Populate Ruby microgenerator arguments for GkeHub V1 and V1beta
  PiperOrigin-RevId: 394321534
  Source-Link: googleapis/googleapis@f47c388

docs(bigquery/storage): Align session length with public documentation feat: Align ReadRows timeout with other versions of the API.
  Committer: @emkornfield
  PiperOrigin-RevId: 394308710
  Source-Link: googleapis/googleapis@1549a69

docs(dialogflow): clarified some LRO types
  PiperOrigin-RevId: 394302922
  Source-Link: googleapis/googleapis@cd16abb

chore: regenerate API index

  Source-Link: googleapis/googleapis@b7537df

feat: add `CheckCompatibility` method to the API
  feat: add `DimensionCompatibility`, `MetricCompatibility`, `Compatibility` types to the API

  feat: add `category` field to `DimensionMetadata`, `MetricMetadata` types
  PiperOrigin-RevId: 394292123
  Source-Link: googleapis/googleapis@3c414af

chore: regenerate API index

  Source-Link: googleapis/googleapis@1c01db6

feat(bigquery/reservation): Deprecated SearchAssignments in favor of SearchAllAssignments feat: Reservation objects now contain a creation time and an update time feat: Added commitment_start_time to capacity commitments feat: Force deleting capacity commitments is allowed while reservations with active assignments exist feat: ML_EXTERNAL job type is supported feat: Optional id can be passed into CreateCapacityCommitment and CreateAssignment docs: Clarified docs for None assignments fix!: Fixed pattern for BiReservation object BREAKING_CHANGE: Changed from `bireservation` to `biReservation`
  PiperOrigin-RevId: 394129271
  Source-Link: googleapis/googleapis@2c7f233
rajatbhatta pushed a commit to rajatbhatta/java-spanner that referenced this pull request Nov 17, 2022
🤖 I have created a release \*beep\* \*boop\*
---
### Updating meta-information for bleeding-edge SNAPSHOT release.
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
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. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants