Skip to content

Conversation

@thiagotnunes
Copy link
Contributor

We were not closing the spanner service instance after using it, causing threads not to be terminated. Here we make sure to close such service in a try with resources block.

Fixes #889

We were not closing the spanner service instance after using it, causing
threads not to be terminated. Here we make sure to close such service in
a try with resources block.
@thiagotnunes thiagotnunes requested a review from a team as a code owner February 23, 2021 05:30
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Feb 23, 2021
@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/java-spanner API. label Feb 23, 2021
@codecov
Copy link

codecov bot commented Feb 23, 2021

Codecov Report

Merging #904 (4e64089) into master (7f4ccf2) will decrease coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #904      +/-   ##
============================================
- Coverage     85.21%   85.18%   -0.03%     
+ Complexity     2624     2621       -3     
============================================
  Files           145      145              
  Lines         14287    14287              
  Branches       1379     1379              
============================================
- Hits          12174    12170       -4     
- Misses         1538     1542       +4     
  Partials        575      575              
Impacted Files Coverage Δ Complexity Δ
...m/google/cloud/spanner/connection/SpannerPool.java 87.36% <0.00%> (-0.53%) 33.00% <0.00%> (ø%)
...cloud/spanner/connection/ReadWriteTransaction.java 81.61% <0.00%> (-0.28%) 55.00% <0.00%> (-1.00%)
...ain/java/com/google/cloud/spanner/SessionPool.java 89.07% <0.00%> (-0.20%) 72.00% <0.00%> (-1.00%)
...a/com/google/cloud/spanner/SessionPoolOptions.java 69.53% <0.00%> (ø) 17.00% <0.00%> (-1.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 7f4ccf2...4f56284. Read the comment docs.

@thiagotnunes thiagotnunes merged commit 7d3e6e4 into googleapis:master Feb 23, 2021
@thiagotnunes thiagotnunes deleted the fix-gapic-spanner-test branch February 23, 2021 22:23
yoshi-automation added a commit that referenced this pull request Mar 24, 2021
Fixes #904

Source-Author: Neenu Shaji <[email protected]>
Source-Date: Wed Mar 24 15:50:02 2021 -0400
Source-Repo: googleapis/synthtool
Source-Sha: bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef
Source-Link: googleapis/synthtool@bb854b6
yoshi-automation added a commit that referenced this pull request Mar 30, 2021
Fixes #904

Source-Author: Neenu Shaji <[email protected]>
Source-Date: Wed Mar 24 15:50:02 2021 -0400
Source-Repo: googleapis/synthtool
Source-Sha: bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef
Source-Link: googleapis/synthtool@bb854b6
thiagotnunes pushed a commit that referenced this pull request Mar 30, 2021
* changes without context

        autosynth cannot find the source of changes triggered by earlier changes in this
        repository, or by version upgrades to tools such as linters.

* chore(java): detect sample-secrets in build.sh

Fixes #904

Source-Author: Neenu Shaji <[email protected]>
Source-Date: Wed Mar 24 15:50:02 2021 -0400
Source-Repo: googleapis/synthtool
Source-Sha: bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef
Source-Link: googleapis/synthtool@bb854b6

* chore: remove staging bucket v2

not needed since we removed v2 solution - googleapis/synthtool#964

Source-Author: Emily Ball <[email protected]>
Source-Date: Mon Mar 29 14:47:37 2021 -0700
Source-Repo: googleapis/synthtool
Source-Sha: 572ef8f70edd9041f5bcfa71511aed6aecfc2098
Source-Link: googleapis/synthtool@572ef8f
ansh0l pushed a commit to ansh0l/java-spanner that referenced this pull request Nov 10, 2022
rajatbhatta pushed a commit to rajatbhatta/java-spanner that referenced this pull request Nov 17, 2022
* changes without context

        autosynth cannot find the source of changes triggered by earlier changes in this
        repository, or by version upgrades to tools such as linters.

* chore(java): detect sample-secrets in build.sh

Fixes googleapis#904

Source-Author: Neenu Shaji <[email protected]>
Source-Date: Wed Mar 24 15:50:02 2021 -0400
Source-Repo: googleapis/synthtool
Source-Sha: bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef
Source-Link: googleapis/synthtool@bb854b6

* chore: remove staging bucket v2

not needed since we removed v2 solution - googleapis/synthtool#964

Source-Author: Emily Ball <[email protected]>
Source-Date: Mon Mar 29 14:47:37 2021 -0700
Source-Repo: googleapis/synthtool
Source-Sha: 572ef8f70edd9041f5bcfa71511aed6aecfc2098
Source-Link: googleapis/synthtool@572ef8f
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 join this conversation on GitHub. Already have an account? Sign in to comment

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.

Flaky GapicSpannerRpcTest

2 participants