Skip to content
This repository was archived by the owner on Dec 8, 2021. It is now read-only.

bug: number of channels was inadvertently limited to 1 #1169

Merged
merged 1 commit into from
Jan 8, 2020
Merged

bug: number of channels was inadvertently limited to 1 #1169

merged 1 commit into from
Jan 8, 2020

Conversation

mr-salty
Copy link
Contributor

@mr-salty mr-salty commented Jan 7, 2020

The intent was to ensure the number of channels was "at least one",
but instead actually made it "at most one".

There is no test for this because client_test uses the Client
constructor directly. We should try to add one, but let's fix
this obvious bug first.


This change is Reviewable

The intent was to ensure the number of channels was "at least one",
but instead actually made it "at most one".

There is no test for this because client_test uses the Client
constructor directly. We should try to add one, but let's fix
this obvious bug first.
@mr-salty mr-salty requested a review from devbww January 7, 2020 23:47
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 7, 2020
@codecov
Copy link

codecov bot commented Jan 8, 2020

Codecov Report

Merging #1169 into master will decrease coverage by 0.06%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1169      +/-   ##
==========================================
- Coverage   95.78%   95.72%   -0.07%     
==========================================
  Files         174      173       -1     
  Lines       13483    13480       -3     
==========================================
- Hits        12915    12904      -11     
- Misses        568      576       +8
Impacted Files Coverage Δ
google/cloud/spanner/client.cc 96.55% <100%> (-0.87%) ⬇️
...loud/spanner/internal/partial_result_set_resume.cc 90.9% <0%> (-4.55%) ⬇️
...ud/spanner/integration_tests/client_stress_test.cc 81.57% <0%> (-1.76%) ⬇️
...loud/spanner/internal/partial_result_set_source.cc 93.24% <0%> (-1.36%) ⬇️
google/cloud/spanner/internal/spanner_stub.cc 69.23% <0%> (-1.1%) ⬇️
google/cloud/spanner/samples/samples.cc 86.15% <0%> (-0.29%) ⬇️
...on_tests/rpc_failure_threshold_integration_test.cc 85.55% <0%> (-0.16%) ⬇️
...anner/integration_tests/client_integration_test.cc 98.47% <0%> (-0.01%) ⬇️
google/cloud/spanner/instance_admin_connection.h
... and 1 more

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 6311fd7...4b746d6. Read the comment docs.

@mr-salty mr-salty merged commit 48494ad into googleapis:master Jan 8, 2020
@mr-salty mr-salty deleted the doh branch January 8, 2020 00:22
devjgm pushed a commit to devjgm/google-cloud-cpp that referenced this pull request May 7, 2020
…ogle-cloud-cpp-spanner#1169)

* bug: number of channels was inadvertently limited to 1

The intent was to ensure the number of channels was "at least one",
but instead actually made it "at most one".

There is no test for this because client_test uses the Client
constructor directly. We should try to add one, but let's fix
this obvious bug first.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
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