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

[foxy backport] Add executor unit tests #1336 #1395

Conversation

brawner
Copy link
Contributor

@brawner brawner commented Oct 8, 2020

This backports #1336 for foxy. This will be squash merged into #1384, which will in turn be rebase and merged onto foxy.

Edit: I meant #1336 not #1331 (which likely won't be backported)

@brawner brawner requested a review from clalancette October 8, 2020 22:08
@brawner brawner changed the title [foxy backport] Add in tests for the static executor #1331 [foxy backport] Add executor unit tests #1336 Oct 8, 2020
@brawner
Copy link
Contributor Author

brawner commented Oct 8, 2020

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

Copy link
Contributor

@ahcorde ahcorde left a comment

Choose a reason for hiding this comment

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

cppcheck timeout on macos

@brawner brawner force-pushed the brawner/rclcpp-backport-tests-part6 branch from b8f69f5 to 34b79f0 Compare October 9, 2020 17:52
clalancette and others added 4 commits October 9, 2020 10:56
In particular, make sure to use 'throw_from_rcl_error'
as much as possible.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
This will be needed by the executor tests.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
Signed-off-by: Stephen Brawner <brawner@gmail.com>
@brawner brawner changed the base branch from brawner/rclcpp-backport-tests-part6 to brawner/rclcpp-backport-tests-part1 October 9, 2020 18:03
@brawner brawner force-pushed the brawner/rclcpp-backport-tests-part7 branch from 6433853 to d6f1f34 Compare October 9, 2020 18:03
@brawner
Copy link
Contributor Author

brawner commented Oct 9, 2020

The timeout for cppcheck is set over at ament_lint, there is an open PR to increase its timeout. Let's see if it's ultimately required when I test the full feature branch on #1383

@brawner brawner requested a review from ahcorde October 9, 2020 18:06
@brawner brawner merged commit 44b8bf4 into brawner/rclcpp-backport-tests-part1 Oct 9, 2020
@delete-merged-branch delete-merged-branch bot deleted the brawner/rclcpp-backport-tests-part7 branch October 9, 2020 18:33
brawner added a commit that referenced this pull request Oct 19, 2020
* Improve the error messages in the Executor class.

In particular, make sure to use 'throw_from_rcl_error'
as much as possible.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>

* Allow mimick patching of methods with up to 9 arguments.

This will be needed by the executor tests.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>

* Add in unit tests for the Executor class.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>

* Adjust test_executor for foxy

Signed-off-by: Stephen Brawner <brawner@gmail.com>

Co-authored-by: Chris Lalancette <clalancette@openrobotics.org>
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.

3 participants