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

scrape: refactor tests with t.Fatal #3299

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

alexandear
Copy link
Contributor

The PR replaces t.Errorf with t.Fatalf in scrape tests where there is no need to continue execution if an err occurs. Additionally, it uses filepath.Join instead of a hard-coded separator /.

Copy link

codecov bot commented Oct 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.01%. Comparing base (2b8c7fa) to head (55583eb).
Report is 149 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3299      +/-   ##
==========================================
- Coverage   97.72%   93.01%   -4.72%     
==========================================
  Files         153      172      +19     
  Lines       13390    11777    -1613     
==========================================
- Hits        13085    10954    -2131     
- Misses        215      729     +514     
- Partials       90       94       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@gmlewis gmlewis left a comment

Choose a reason for hiding this comment

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

Thank you, @alexandear !
LGTM.

Awaiting second LGTM+Approval from any other contributor to this repo before merging.

@gmlewis gmlewis added the NeedsReview PR is awaiting a review before merging. label Oct 3, 2024
Copy link
Contributor

@tomfeigin tomfeigin left a comment

Choose a reason for hiding this comment

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

LGTM

@gmlewis gmlewis removed the NeedsReview PR is awaiting a review before merging. label Oct 14, 2024
@gmlewis
Copy link
Collaborator

gmlewis commented Oct 14, 2024

Thank you, @tomfeigin !
Merging.

@gmlewis gmlewis merged commit 7cd6886 into google:master Oct 14, 2024
6 of 7 checks passed
@alexandear alexandear deleted the refactor/scrape-tests branch October 14, 2024 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants