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

Increasing test coverage of rclcpp_action #1043

Merged
merged 10 commits into from
Apr 29, 2020

Conversation

brawner
Copy link
Contributor

@brawner brawner commented Mar 31, 2020

As part of the effort to bring the rclcpp packages up to Quality Level 1, this introduces many more tests of the rclcpp_action api. This brings the coverage from 76% to 83% of the src files and 94% of the include files (87% combined).

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

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

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.

Question on construction_and_destruction_callback_group test

rclcpp_action/test/test_server.cpp Show resolved Hide resolved
@brawner
Copy link
Contributor Author

brawner commented Apr 16, 2020

@ahcorde ping for review

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.

@brawner
Copy link
Contributor Author

brawner commented Apr 21, 2020

Rebased and addressed feedback @ahcorde

  • 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.

lgtm, just remove the duplicated line

rclcpp_action/test/test_types.cpp Show resolved Hide resolved
@ahcorde
Copy link
Contributor

ahcorde commented Apr 22, 2020

In windows CI test_types is passing but in the result I see this error:

02:02:30 [MSBuild] [-ERROR-] Can't create fingerprints for some files:
02:02:30 [MSBuild] [-ERROR-] - 'C:/ci/ws/src/ros2/rclcpp/rclcpp_action/test/test_types.cpp', IO exception has been thrown: java.nio.file.NoSuchFileException: C:\ci\ws\src\ros2\rclcpp\rclcpp_action\test\test_types.cpp
02:02:30 [MSBuild] [-ERROR-] - 'C:/ci/ws/src/ros2/rclcpp/rclcpp_action/test/test_types.cpp', IO exception has been thrown: java.nio.file.NoSuchFileException: C:\ci\ws\src\ros2\rclcpp\rclcpp_action\test\test_types.cpp
02:02:30 [MSBuild] [-ERROR-] - 'C:/ci/ws/src/ros2/rclcpp/rclcpp_action/test/test_types.cpp', IO exception has been thrown: java.nio.file.NoSuchFileException: C:\ci\ws\src\ros2\rclcpp\rclcpp_action\test\test_types.cpp
02:02:30 [MSBuild] [-ERROR-] - 'C:/ci/ws/src/ros2/rclcpp/rclcpp_action/test/test_types.cpp', IO exception has been thrown: java.nio.file.NoSuchFileException: C:\ci\ws\src\ros2\rclcpp\rclcpp_action\test\test_types.cpp
02:02:30 [MSBuild] [-ERROR-] - 'C:/ci/ws/src/ros2/rclcpp/rclcpp_action/test/test_types.cpp', IO exception has been thrown: java.nio.file.NoSuchFileException: C:\ci\ws\src\ros2\rclcpp\rclcpp_action\test\test_types.cpp

@brawner
Copy link
Contributor Author

brawner commented Apr 22, 2020

I'm not sure what the error that fingerprinting error relates to, but the ci_windows build was marked because I used the wrong unsigned type in the test_types.cpp file. I've fixed that, running the tests again.

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

@ahcorde
Copy link
Contributor

ahcorde commented Apr 27, 2020

  • macOS Build Status

Signed-off-by: Stephen Brawner <brawner@gmail.com>
Signed-off-by: Stephen Brawner <brawner@gmail.com>
Signed-off-by: Stephen Brawner <brawner@gmail.com>
Signed-off-by: Stephen Brawner <brawner@gmail.com>
@brawner
Copy link
Contributor Author

brawner commented Apr 27, 2020

Rebasing this branch and my ros2.repos file.

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

Signed-off-by: Stephen Brawner <brawner@gmail.com>
Signed-off-by: Stephen Brawner <brawner@gmail.com>
Signed-off-by: Stephen Brawner <brawner@gmail.com>
Signed-off-by: Stephen Brawner <brawner@gmail.com>
Signed-off-by: Stephen Brawner <brawner@gmail.com>
@brawner
Copy link
Contributor Author

brawner commented Apr 29, 2020

Updating to fix deprecation warning.

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

@brawner brawner merged commit e632583 into ros2:master Apr 29, 2020
@brawner brawner deleted the tests_rclcpp_action branch April 29, 2020 21:26
DensoADAS pushed a commit to DensoADAS/rclcpp that referenced this pull request Jul 7, 2020
* Increasing test coverage of rclcpp_action

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

* PR Fixup

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

* PR Fixup

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

* PR Fixup

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

* Increasing test coverage of rclcpp_action

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

* PR Fixup

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

* PR Fixup

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

* PR Fixup

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

* Fix warnings

Signed-off-by: Stephen Brawner <brawner@gmail.com>
DensoADAS pushed a commit to DensoADAS/rclcpp that referenced this pull request Aug 5, 2022
* Set to list: writer_choices: record.py

Signed-off-by: EsipovPA <esipov.p@mail.ru>

* Set to list: storage_choices: reindex.py

Signed-off-by: EsipovPA <esipov.p@mail.ru>
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.

None yet

2 participants