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

Remove recorder from diagnostics test #196

Merged
merged 2 commits into from
Oct 15, 2023

Conversation

ahans
Copy link
Contributor

@ahans ahans commented Oct 14, 2023

We robustify this test by not relying on a bag recorder, but instead have a subscriber within the same process as the test. Since we have the messages available without extra effort, we use the chance to also check the contents of the messages.

Fixes #195.

We robustify this test by not relying on a bag recorder, but instead
have a subscriber within the same process as the test. Since we have the
messages available without extra effort, we use the chance to also check
the contents of the messages.
@ahans ahans force-pushed the bugfix/ahans/diagnostics-test branch from 164cca6 to 6606fb5 Compare October 14, 2023 21:37
Copy link
Owner

@mvukov mvukov left a comment

Choose a reason for hiding this comment

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

Very nice, much appreciated. I left a couple of minor comments.

ros2/test/diagnostics/tests.py Outdated Show resolved Hide resolved
ros2/test/diagnostics/tests.py Outdated Show resolved Hide resolved
ros2/test/diagnostics/tests.py Outdated Show resolved Hide resolved
ros2/test/diagnostics/BUILD.bazel Show resolved Hide resolved
@ahans
Copy link
Contributor Author

ahans commented Oct 15, 2023

Addressed comments. Please have another look!

@mvukov mvukov merged commit 063336d into mvukov:main Oct 15, 2023
5 checks passed
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.

Fix flaky //ros2/test/diagnostics:diagnostic_heartbeat_test
2 participants