Skip to content

Adjusted spin_some test due to new behavior#394

Merged
ivanpauno merged 1 commit intoros2:masterfrom
roger-strain:spin_some_update_rclcpp_844
Nov 22, 2019
Merged

Adjusted spin_some test due to new behavior#394
ivanpauno merged 1 commit intoros2:masterfrom
roger-strain:spin_some_update_rclcpp_844

Conversation

@roger-strain
Copy link
Copy Markdown
Contributor

Previously would constantly trigger based on a 0ms delay timer;
now only evaluates a single timer once per spin_some call. Test
now adds multiple timers with a short delay to simulate performing
work.

Relies on behavior change from ros2/rclcpp#844, addressing
ros2/rclcpp#471

Distribution Statement A; OPSEC #2893

Signed-off-by: Roger Strain rstrain@swri.org

Copy link
Copy Markdown
Member

@ivanpauno ivanpauno left a comment

Choose a reason for hiding this comment

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

LGTM!

@ivanpauno ivanpauno requested a review from wjwwood November 21, 2019 13:11
@ivanpauno ivanpauno self-assigned this Nov 21, 2019
@ivanpauno ivanpauno added the in review Waiting for review (Kanban column) label Nov 21, 2019
Previously would constantly trigger based on a 0ms delay timer;
now only evaluates a single timer once per spin_some call. Test
now adds multiple timers with a short delay to simulate performing
work.

Relies on behavior change from ros2/rclcpp#844, addressing
ros2/rclcpp#471

Distribution Statement A; OPSEC #2893

Signed-off-by: Roger Strain <rstrain@swri.org>
@roger-strain roger-strain force-pushed the spin_some_update_rclcpp_844 branch from ba87932 to e8e273d Compare November 22, 2019 15:36
@ivanpauno ivanpauno merged commit 99ec3f9 into ros2:master Nov 22, 2019
@ghost ghost removed the in review Waiting for review (Kanban column) label Nov 22, 2019
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