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 coverage for URL SCM #547

Merged
merged 6 commits into from
Jan 2, 2024
Merged

Conversation

jkloetzke
Copy link
Member

No description provided.

The archive unit tests used the implicit ThreadPoolExecutor while the
URL SCM unit tests used the ProcessPoolExecutor like the rest of Bob.
This had the effect that the URL SCM unit tests did not provide full
coverage.
Black box and unit tests use the same configuration.
Copy link

codecov bot commented Jan 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (42a3998) 88.33% compared to head (da5304e) 88.72%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #547      +/-   ##
==========================================
+ Coverage   88.33%   88.72%   +0.38%     
==========================================
  Files          46       46              
  Lines       14696    14697       +1     
==========================================
+ Hits        12982    13040      +58     
+ Misses       1714     1657      -57     

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

If the file exists and shall not be overwritten, the handle must be
closed.
Also log events that are not visible by the default
BaseHTTPRequestHandler methods.
If mirrors are configured, a download attempt may fail gracefully if
there is another mirror available. The user should still be able to
infer what caused the initial request to fail before Bob moved to the
next mirror. Thus output the error message of the previous attempt as
warning.
The process pool executor is started in some unit tests without being
used. This can create the no-data-collected warning that just clutters
the output.
@jkloetzke jkloetzke merged commit 077a9f9 into BobBuildTool:master Jan 2, 2024
11 checks passed
@jkloetzke jkloetzke deleted the fix-coverage branch January 2, 2024 20:35
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.

1 participant