Skip to content

Use system time in all tests to avoid error with different time sources.#334

Merged
bmagyar merged 1 commit intoros-controls:masterfrom
destogl:fix-time-sources-in-jtc-tests
Jul 24, 2022
Merged

Use system time in all tests to avoid error with different time sources.#334
bmagyar merged 1 commit intoros-controls:masterfrom
destogl:fix-time-sources-in-jtc-tests

Conversation

@destogl
Copy link
Copy Markdown
Member

@destogl destogl commented Apr 20, 2022

This PR solves (a new) issues caused by difference in time source (probably some changes in rclcpp cause that).
An example of the issue can be found here.

@bmagyar
Copy link
Copy Markdown
Member

bmagyar commented Apr 25, 2022

There still seems to be errors... shouldn't this PR fix them?

 - joint_trajectory_controller.OnlyEffortTrajectoryControllers/TrajectoryControllerTestParameterized test_ignore_partial_old_trajectory/1
  <<< failure message
    unknown file
    C++ exception with description "can't compare times with different time sources" thrown in the test body.
  >>>

@bmagyar bmagyar force-pushed the fix-time-sources-in-jtc-tests branch from a534b81 to 0721025 Compare July 24, 2022 06:14
@bmagyar
Copy link
Copy Markdown
Member

bmagyar commented Jul 24, 2022

Only the joint_state_broadcaster tests fail on the CI ATM

@bmagyar bmagyar merged commit d8d6616 into ros-controls:master Jul 24, 2022
mamueluth pushed a commit to b-robotized-forks/ros2_controllers that referenced this pull request Aug 26, 2022
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