Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use test credentials when connecting to the Emulator from Admin SDK #296

Merged
merged 1 commit into from Jul 16, 2020

Conversation

schmidt-sebastian
Copy link
Contributor

@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Jul 15, 2020
Copy link

@yuchenshi yuchenshi left a comment

Choose a reason for hiding this comment

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

Do we have regression tests though?

@codecov
Copy link

codecov bot commented Jul 15, 2020

Codecov Report

Merging #296 into master will not change coverage.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #296   +/-   ##
=========================================
  Coverage     72.98%   72.98%           
  Complexity     1044     1044           
=========================================
  Files            64       64           
  Lines          5526     5526           
  Branches        645      645           
=========================================
  Hits           4033     4033           
  Misses         1282     1282           
  Partials        211      211           
Impacted Files Coverage Δ Complexity Δ
...a/com/google/cloud/firestore/FirestoreOptions.java 36.97% <0.00%> (ø) 7.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 b91c57c...20a8dbf. Read the comment docs.

@schmidt-sebastian
Copy link
Contributor Author

Unfortunately, we don't have any automated regressions tests that involve multiple projects. I verified with the customer's repo that their problem no longer exists and verified that our integration tests still pass against the Emulator even when the Admin SDK is not involved (well, there are two failures, but they existed prior to this change).

@BenWhitehead BenWhitehead merged commit a0a6e80 into master Jul 16, 2020
@BenWhitehead BenWhitehead deleted the mrschmidt/credentials branch July 16, 2020 20:23
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.

Connection to emulator fails with UNAUTHENTICATED
4 participants