Skip to content

fix TestTimeSource.ROS_time_valid_attach_detach.#2700

Merged
fujitatomoya merged 1 commit intorollingfrom
fujitatomoya/fix-test_time_source
Dec 9, 2024
Merged

fix TestTimeSource.ROS_time_valid_attach_detach.#2700
fujitatomoya merged 1 commit intorollingfrom
fujitatomoya/fix-test_time_source

Conversation

@fujitatomoya
Copy link
Copy Markdown
Collaborator

This PR fixes the TestTimeSource.ROS_time_valid_attach_detach error message below.
This test is expected to call detachClock with valid operation to remove the clock successfully.

  • before
colcon test --event-handlers console_direct+ --packages-select rclcpp --ctest-args -R test_time_source
...
89: [ RUN      ] TestTimeSource.ROS_time_valid_attach_detach
89: [ERROR] [1733531284.881187504] [rclcpp]: failed to remove clock
89: [       OK ] TestTimeSource.ROS_time_valid_attach_detach (4 ms)
...
  • after
colcon test --event-handlers console_direct+ --packages-select rclcpp --ctest-args -R test_time_source
...
89: [ RUN      ] TestTimeSource.ROS_time_valid_attach_detach
89: [       OK ] TestTimeSource.ROS_time_valid_attach_detach (4 ms)
...

Copy link
Copy Markdown
Collaborator Author

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

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

@clalancette @ahcorde minor test fix, can you take a look?

@fujitatomoya
Copy link
Copy Markdown
Collaborator Author

Pulls: #2700
Gist: https://gist.githubusercontent.com/fujitatomoya/80a4c05801a71c9dda7040a25935f046/raw/ca3eefe31e51cb3c2f5f54be3e67bf697e27716b/ros2.repos
BUILD args: --packages-up-to rclcpp
TEST args: --packages-select rclcpp
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/14915

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
@fujitatomoya fujitatomoya force-pushed the fujitatomoya/fix-test_time_source branch from fb799e6 to ee05c98 Compare December 7, 2024 21:59
@fujitatomoya
Copy link
Copy Markdown
Collaborator Author

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

@fujitatomoya
Copy link
Copy Markdown
Collaborator Author

@clalancette friendly ping

@fujitatomoya fujitatomoya merged commit 8c0161a into rolling Dec 9, 2024
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.

2 participants