Skip to content

Coverage branch: codec.js#2147

Merged
lukesneeringer merged 1 commit intogoogleapis:masterfrom
lukesneeringer:spanner-coverage
Mar 28, 2017
Merged

Coverage branch: codec.js#2147
lukesneeringer merged 1 commit intogoogleapis:masterfrom
lukesneeringer:spanner-coverage

Conversation

@lukesneeringer
Copy link
Contributor

Quick addition of a test to catch an if branch we missed.

@lukesneeringer lukesneeringer self-assigned this Mar 28, 2017
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 28, 2017
@coveralls
Copy link

Coverage Status

Coverage remained the same at 99.912% when pulling e321b0c on lukesneeringer:spanner-coverage into 4ab5b94 on GoogleCloudPlatform:master.

@stephenplusplus stephenplusplus added api: spanner Issues related to the Spanner API. testing labels Mar 28, 2017
@stephenplusplus
Copy link
Contributor

Did we expect coverage to stay the same? Merge away If so!

@lukesneeringer
Copy link
Contributor Author

Yeah, it fixed a missing branch, not a missing line.

@lukesneeringer lukesneeringer merged commit 8f51232 into googleapis:master Mar 28, 2017
@lukesneeringer lukesneeringer deleted the spanner-coverage branch March 28, 2017 23:34
@stephenplusplus
Copy link
Contributor

stephenplusplus commented Mar 29, 2017

Ah, got it. Thanks! 🌴 not 📉

sofisl pushed a commit that referenced this pull request Feb 25, 2026
sofisl pushed a commit that referenced this pull request Feb 26, 2026
sofisl pushed a commit that referenced this pull request Feb 26, 2026
…l.createSessions (#2145)

This change adds tracing for Database.batchCreateSessions
as well as SessionPool.createSessions which was raised
as a big need.
This change is a premise to finishing up tracing Transaction.

While here, also folded in the async/await fix to avoid day+ long
code review lag and then 3+ hours just to run tests per PR:
OpenTelemetry cannot work correctly for async/await if there isn't
a set AsyncHooksManager, but we should not burden our customers with
this type of specialist knowledge, their code should just work and
this change performs such a check. Later on we shall file a feature
request with the OpenTelemetry-JS API group to give us a hook to detect
if we've got a live asyncHooksManager instead of this mandatory
comparison to ROOT_CONTEXT each time.

Fixes #2146
Updates #2079
Spun out of PR #2122
Supersedes PR #2147
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 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.

4 participants