Skip to content

Remove ros2interface test dependencies on builtin interface#579

Merged
audrow merged 7 commits intomasterfrom
audrow/remove-depend-on-builtin-interface-2
Jan 20, 2021
Merged

Remove ros2interface test dependencies on builtin interface#579
audrow merged 7 commits intomasterfrom
audrow/remove-depend-on-builtin-interface-2

Conversation

@audrow
Copy link
Copy Markdown
Member

@audrow audrow commented Dec 17, 2020

Fixes #541 and is an alternative to the PRs associated with #547.

I think this is an important change because, as mentioned in ros2/system_tests#442 (comment), testing against these interface definitions allows us to cover behavior of ros2 interface show that is currently not covered, such as the bug fixed by #548. This PR also removes a ros2interface test dependency on builtin_interfaces (#541).

I've opted for this approach rather than the one used in #547 to avoid slowing down the test time and for simplicity. As @jacobperron mentions in ros2/test_interface_files#11 (comment) that adding these interfaces to may increase the time required for all of the tests to run. It also is much more complicated to add messages to test_msgs as it requires PRs in four repositories.

Signed-off-by: Audrow <audrow.nash@gmail.com>
Signed-off-by: Audrow Nash <audrow.nash@gmail.com>
Signed-off-by: Audrow Nash <audrow.nash@gmail.com>
Signed-off-by: Audrow Nash <audrow.nash@gmail.com>
@audrow audrow added the enhancement New feature or request label Dec 17, 2020
@audrow audrow self-assigned this Dec 17, 2020
Signed-off-by: Audrow Nash <audrow.nash@gmail.com>
Signed-off-by: Audrow Nash <audrow.nash@gmail.com>
@audrow audrow force-pushed the audrow/remove-depend-on-builtin-interface-2 branch from 703e512 to 3056860 Compare December 19, 2020 05:14
@audrow
Copy link
Copy Markdown
Member Author

audrow commented Dec 19, 2020

I'm not sure why the PR job is failing, but here is CI.

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

@audrow audrow marked this pull request as ready for review December 20, 2020 17:49
@audrow audrow requested a review from jacobperron December 20, 2020 17:49
Copy link
Copy Markdown
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

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

LGTM (one minor comment)

We should also run CI and test the new package ros2cli_test_interfaces.

@jacobperron
Copy link
Copy Markdown
Member

I believe the PR job failure is the same as #577. It seems safe to ignore, since this change is only touching ros2interface.

Signed-off-by: Audrow Nash <audrow.nash@gmail.com>
@audrow
Copy link
Copy Markdown
Member Author

audrow commented Dec 23, 2020

Here is a new CI. I am testing on ros2interface and ros2cli_test_interfaces.

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

@audrow
Copy link
Copy Markdown
Member Author

audrow commented Jan 20, 2021

I reran windows. It seems to pass. I'll rebase on master and then rerun CI.

  • Windows Build Status

@jacobperron
Copy link
Copy Markdown
Member

jacobperron commented Jan 20, 2021

I reran windows. It seems to pass. I'll rebase on master and then rerun CI.

I don't think rebasing is necessary when using a branch (instead of a repos file) for CI.

@audrow
Copy link
Copy Markdown
Member Author

audrow commented Jan 20, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ros2interface] Tests rely on builtin_interfaces

2 participants