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

DM-41190: Fix resources test_walk failure on CI #71

Merged
merged 1 commit into from Oct 18, 2023
Merged

Conversation

dhirving
Copy link
Contributor

Checklist

  • ran Jenkins
  • [] added a release note for user-visible changes to doc/changes

@codecov
Copy link

codecov bot commented Oct 17, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (5715b99) 86.12% compared to head (fcdfee7) 86.12%.

❗ Current head fcdfee7 differs from pull request most recent head 1b8dd94. Consider uploading reports for the commit 1b8dd94 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #71   +/-   ##
=======================================
  Coverage   86.12%   86.12%           
=======================================
  Files          27       27           
  Lines        4029     4029           
  Branches      825      825           
=======================================
  Hits         3470     3470           
  Misses        438      438           
  Partials      121      121           
Files Coverage Δ
python/lsst/resources/packageresource.py 100.00% <100.00%> (ø)

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

Fixed an issue where test_walk in test_resource.py would intermittently
fail with a "File not found" error when tests are running in parallel.
This was occurring because a temporary file created in __pycache__ would
be picked up while listing the directory.  The is_file() check was
returning False because the file no longer existed, so we were
incorrectly assuming it was a directory.
@dhirving dhirving merged commit 6dfd179 into main Oct 18, 2023
14 checks passed
@dhirving dhirving deleted the tickets/DM-41190 branch October 18, 2023 19:39
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.

None yet

2 participants