Skip to content

Addresses flakiness in Hydrodynamics.VelocityTestInOil. #1787

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

Merged
merged 2 commits into from
Nov 9, 2022

Conversation

arjo129
Copy link
Contributor

@arjo129 arjo129 commented Nov 9, 2022

🦟 Bug fix

Fixes #

Summary

This PR adjusts the hydrodynamics tests so they are less flaky. Currently, it seems like the test checks if one item falls faster than another. However due to the inherent parallelism, it seems like on different computers the balls start falling at different times. This means the 4 time steps we wait for may not be enough for a difference in velocity to appear. I suspect we no longer need to disable this test on windows.

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.

This PR adjusts the hydrodynamics tests so they are abit less flaky. Currently, it seems like the test checks if one item falls faster than another.  However due to the inherent parrallelism, it seems like on different computers the balls start falling at different times. This means the 4 time steps we wait for may not be enough for a difference in velocity to appear. I suspect we no longer need to disable this test on windows.

Signed-off-by: Arjo Chakravarty <[email protected]>
@arjo129 arjo129 requested a review from mjcarroll as a code owner November 9, 2022 06:43
@github-actions github-actions bot added the 🏯 fortress Ignition Fortress label Nov 9, 2022
Signed-off-by: Arjo Chakravarty <[email protected]>
@codecov
Copy link

codecov bot commented Nov 9, 2022

Codecov Report

Merging #1787 (b1da755) into ign-gazebo6 (3c06d74) will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           ign-gazebo6    #1787   +/-   ##
============================================
  Coverage        64.61%   64.61%           
============================================
  Files              321      321           
  Lines            26290    26290           
============================================
  Hits             16988    16988           
  Misses            9302     9302           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@mjcarroll mjcarroll merged commit 216d5a5 into ign-gazebo6 Nov 9, 2022
@mjcarroll mjcarroll deleted the arjo/fix/hydrodynamic_test_flakiness branch November 9, 2022 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏯 fortress Ignition Fortress
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants