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 example test logic #28

Merged
merged 2 commits into from
May 17, 2019
Merged

Conversation

dirk-thomas
Copy link
Member

@dirk-thomas dirk-thomas commented May 17, 2019

Fixes ros2/build_farmer#197.

Without the patch the publisher publishes a single message and waits for the subscriber to receive that message. Since the matching between both might not have happened the assertWaitFor times out after 10s and calls assert failing the test.

This patch relies on ros2/launch#243 and publishes 10 messages - one every second - until the listener received it.

Before: Build Status
After: Build Status

Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
@dirk-thomas dirk-thomas added bug Something isn't working in review labels May 17, 2019
@dirk-thomas dirk-thomas self-assigned this May 17, 2019
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
@dirk-thomas dirk-thomas merged commit 67d0c88 into master May 17, 2019
@delete-merged-branch delete-merged-branch bot deleted the dirk-thomas/fix-example-test-logic branch May 17, 2019 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working in review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

talker_listener.test.py from Linux aarch64 debug failed nightly
2 participants