Skip to content

Conversation

@athakor
Copy link
Contributor

@athakor athakor commented Oct 22, 2019

towards #5946

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 22, 2019
@codecov
Copy link

codecov bot commented Oct 22, 2019

Codecov Report

Merging #6538 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #6538   +/-   ##
=========================================
  Coverage     46.35%   46.35%           
  Complexity    27998    27998           
=========================================
  Files          2613     2613           
  Lines        288068   288068           
  Branches      33778    33778           
=========================================
  Hits         133521   133521           
  Misses       144308   144308           
  Partials      10239    10239
Impacted Files Coverage Δ Complexity Δ
...oogle/cloud/spanner/jdbc/SingleUseTransaction.java 86% <0%> (-1%) 36% <0%> (-1%)
...able/gaxx/reframing/ReframingResponseObserver.java 90.82% <0%> (+1.83%) 30% <0%> (+1%) ⬆️

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 1aa5923...4995977. Read the comment docs.

Copy link
Contributor

@chingor13 chingor13 left a comment

Choose a reason for hiding this comment

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

Thanks for this!

Comment on lines 56 to 57
user = getFromCredential(GOOGLE_API_CLIENT_EMAIL_ID);
clientId = getFromCredential(GOOGLE_API_CLIENT_ID);
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: These could be done in a static @BeforeAll setup block so we only have to read them once.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

private static final String GOOGLE_API_CLIENT_EMAIL_ID = "clientEmail";
private static final String GOOGLE_API_CLOUD_PLATFORM_LINK =
"https://www.googleapis.com/auth/cloud-platform";
private static final String FINGERPRINT_NAME = "test-fingerprint";
Copy link
Contributor

Choose a reason for hiding this comment

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

For clarity, let's name this NON_EXISTENT_FINGERPRINT_NAME to make it clear that we expect this one to not exist.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@athakor
Copy link
Contributor Author

athakor commented Oct 23, 2019

@chingor13 PTAL

@chingor13 chingor13 merged commit 3d22cb0 into googleapis:master Oct 23, 2019
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.

3 participants