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 flakiness in the TopicInfo test #551

Merged
merged 2 commits into from
Nov 5, 2024

Conversation

azeey
Copy link
Contributor

@azeey azeey commented Nov 4, 2024

🦟 Bug fix

Fixes #510

Summary

The flakiness appears to be a timing issue. The fix here involves running the loop that waits for the input messages in a separate thread before starting the publisher.

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.

@azeey azeey requested a review from caguero as a code owner November 4, 2024 23:41
@github-actions github-actions bot added the 🏯 fortress Ignition Fortress label Nov 4, 2024
The flakiness appears to be a timing issue. The fix here involves running
the loop that waits for the input messages in a separate thread before
starting the publisher.

Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
src/cmd/gz_TEST.cc Outdated Show resolved Hide resolved
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
@azeey
Copy link
Contributor Author

azeey commented Nov 5, 2024

Homebrew CI has run 3 times without any failures:

  • Build Status
  • Build Status
  • Build Status

@azeey azeey requested a review from ahcorde November 5, 2024 17:38
@ahcorde ahcorde merged commit 03d9687 into gazebosim:ign-transport11 Nov 5, 2024
10 checks passed
@azeey azeey deleted the fix_flaky_topic_info branch November 5, 2024 21:38
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.

3 participants