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

test: use discovery docs from fixture #2037

Merged
merged 2 commits into from
Apr 13, 2020
Merged

test: use discovery docs from fixture #2037

merged 2 commits into from
Apr 13, 2020

Conversation

bcoe
Copy link
Contributor

@bcoe bcoe commented Apr 13, 2020

rather than loading discover docs over the wire, which has been proving flaky (I believe turning net connect on and off is the source of the flakes in #2036), use nock to load discovery docs from a fixture.

fixes: #2036, #2035

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 13, 2020
@bcoe
Copy link
Contributor Author

bcoe commented Apr 13, 2020

bonus, it looks like this should hopefully fix #2035 too.

@codecov
Copy link

codecov bot commented Apr 13, 2020

Codecov Report

Merging #2037 into master will not change coverage by %.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2037   +/-   ##
=======================================
  Coverage   38.82%   38.82%           
=======================================
  Files           6        6           
  Lines        1069     1069           
  Branches        6        6           
=======================================
  Hits          415      415           
  Misses        654      654           

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 3a3b61d...8991d50. Read the comment docs.

@JustinBeckwith
Copy link
Contributor

nice

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.

Mocha Tests: should set access token type to Bearer if none is set failed
3 participants