Skip to content

Conversation

@olavloite
Copy link
Collaborator

The test wrongly assumed that if the previous page returned a nextPageToken that the next call would always contain exactly one more result. It is however possible that the result that had not yet been returned was deleted by another process in the meantime, which would cause the next page to be empty.

Fixes #570

The test wrongly assumed that if the previous page returned a nextPageToken
that the next call would always contain exactly one more result. It is however
possible that the result that had not yet been returned was deleted by another
process in the meantime, which would cause the next page to be empty.

Fixes #570
@olavloite olavloite requested a review from a team as a code owner November 1, 2020 16:33
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Nov 1, 2020
@codecov
Copy link

codecov bot commented Nov 1, 2020

Codecov Report

Merging #572 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #572      +/-   ##
============================================
- Coverage     84.05%   84.03%   -0.02%     
+ Complexity     2503     2502       -1     
============================================
  Files           141      141              
  Lines         13806    13806              
  Branches       1317     1317              
============================================
- Hits          11604    11602       -2     
- Misses         1656     1657       +1     
- Partials        546      547       +1     
Impacted Files Coverage Δ Complexity Δ
...ain/java/com/google/cloud/spanner/SessionPool.java 88.13% <0.00%> (-0.20%) 71.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 2e9c133...7dca3e8. Read the comment docs.

Copy link
Contributor

@thiagotnunes thiagotnunes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thiagotnunes thiagotnunes merged commit 8e44aa2 into master Nov 2, 2020
@thiagotnunes thiagotnunes deleted the issue-570 branch November 2, 2020 00:46
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#3892

Changes:

fix!: remove empty appengine/v1beta/deployed_files.proto
  PiperOrigin-RevId: 366869955
  Source-Link: googleapis/googleapis@fa7915f

chore(bazel): update rules_gapic to v0.5.3
  PiperOrigin-RevId: 366838867
  Source-Link: googleapis/googleapis@d78dc2e

chore: upgrade gapic-generator-python to 0.43.2
  PiperOrigin-RevId: 366826395
  Source-Link: googleapis/googleapis@2490be3

feat(bigquery/storage): deprecate bigquery storage v1alpha2 API
  Committer: @yirutang
  PiperOrigin-RevId: 366823379
  Source-Link: googleapis/googleapis@1a7d764
rajatbhatta pushed a commit to rajatbhatta/java-spanner that referenced this pull request Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

spanner.it.ITDatabaseAdminTest: listPagination failed

2 participants