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 test failures due to recent changes in SDFormat #1023

Merged
merged 1 commit into from
Sep 13, 2021

Conversation

azeey
Copy link
Contributor

@azeey azeey commented Sep 11, 2021

🦟 Bug fix

Summary

  • Fix invalid pose (7 values instead of 6)
  • Add a special case for comparing poses since 0 can sometimes be
    generated as -0.
  • Make isSubset return AssertionResult with helpful failure messages

Checklist

  • Signed all commits for DCO
  • Added tests
  • [ ] Updated documentation (as needed)
  • [ ] Updated migration guide (as needed)
  • 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

* Fix invalid pose (7 values instead of 6)
* Add a special case for comparing poses since 0 can sometimes be
  generated as -0.
* Make isSubset return AssertionResult with helpful failure messages

Signed-off-by: Addisu Z. Taddese <[email protected]>
@azeey azeey self-assigned this Sep 11, 2021
@azeey azeey requested a review from chapulina as a code owner September 11, 2021 17:37
@github-actions github-actions bot added the 🏯 fortress Ignition Fortress label Sep 11, 2021
@azeey azeey mentioned this pull request Sep 11, 2021
@codecov
Copy link

codecov bot commented Sep 11, 2021

Codecov Report

Merging #1023 (402970a) into main (e3ee0af) will decrease coverage by 1.24%.
The diff coverage is 49.56%.

❗ Current head 402970a differs from pull request most recent head 8f65f32. Consider uploading reports for the commit 8f65f32 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1023      +/-   ##
==========================================
- Coverage   64.66%   63.41%   -1.25%     
==========================================
  Files         242      238       -4     
  Lines       19014    19398     +384     
==========================================
+ Hits        12296    12302       +6     
- Misses       6718     7096     +378     
Impacted Files Coverage Δ
include/ignition/gazebo/EntityComponentManager.hh 100.00% <ø> (ø)
include/ignition/gazebo/Link.hh 100.00% <ø> (ø)
include/ignition/gazebo/Server.hh 100.00% <ø> (ø)
include/ignition/gazebo/gui/GuiEvents.hh 0.00% <0.00%> (ø)
include/ignition/gazebo/rendering/RenderUtil.hh 100.00% <ø> (ø)
include/ignition/gazebo/rendering/SceneManager.hh 100.00% <ø> (ø)
src/SdfEntityCreator.cc 84.53% <0.00%> (-0.89%) ⬇️
src/gui/Gui.cc 65.35% <ø> (+0.23%) ⬆️
src/gui/GuiRunner.cc 85.91% <0.00%> (-0.34%) ⬇️
src/gui/plugins/scene3d/Scene3D.hh 50.00% <ø> (ø)
... and 74 more

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 1fb3207...8f65f32. Read the comment docs.

@chapulina chapulina added beta Targeting beta release of upcoming collection bug Something isn't working labels Sep 13, 2021
Copy link
Contributor

@chapulina chapulina left a comment

Choose a reason for hiding this comment

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

Thanks!

@chapulina chapulina merged commit c163898 into gazebosim:main Sep 13, 2021
WilliamLewww pushed a commit to WilliamLewww/ign-gazebo that referenced this pull request Dec 7, 2021
* Fix invalid pose (7 values instead of 6)
* Add a special case for comparing poses since 0 can sometimes be
  generated as -0.
* Make isSubset return AssertionResult with helpful failure messages

Signed-off-by: Addisu Z. Taddese <[email protected]>
Signed-off-by: William Lew <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta Targeting beta release of upcoming collection bug Something isn't working 🏯 fortress Ignition Fortress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants