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

In parser config test, use a filename less likely to exist #1362

Merged
merged 2 commits into from
Jan 30, 2024

Conversation

cottsay
Copy link
Contributor

@cottsay cottsay commented Jan 30, 2024

🦟 Bug fix

Summary

The file /usr/share/empty is not unique enough to guarantee that it does not exist, and the test seems to require that there be no file or directory with that name.

On Fedora, the directory /usr/share/empty is present on every single system.

I'm absolutely open to another more descriptive name for the file, but I chose should_not_exist to start.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

The file /usr/share/empty is not unique enough to guarantee that it does
not exist, and the test seems to require that there be no file or
directory with that name.

On Fedora, the file /usr/share/empty is present on every single system.

Signed-off-by: Scott K Logan <[email protected]>
@github-actions github-actions bot added the 🎵 harmonic Gazebo Harmonic label Jan 30, 2024
Copy link
Collaborator

@azeey azeey left a comment

Choose a reason for hiding this comment

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

oof! Thanks for catching this!

Copy link

codecov bot commented Jan 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c3960a5) 92.40% compared to head (0ec8b40) 92.40%.
Report is 1 commits behind head on sdf14.

Additional details and impacted files
@@           Coverage Diff           @@
##            sdf14    #1362   +/-   ##
=======================================
  Coverage   92.40%   92.40%           
=======================================
  Files         134      134           
  Lines       17674    17674           
=======================================
  Hits        16332    16332           
  Misses       1342     1342           

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

@azeey azeey merged commit 191e58b into gazebosim:sdf14 Jan 30, 2024
11 checks passed
@cottsay cottsay deleted the test-collision branch January 30, 2024 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎵 harmonic Gazebo Harmonic
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants