File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -304,8 +304,8 @@ class CallbackObject
304304TEST_F (TestTimeSource, callbacks) {
305305 CallbackObject cbo;
306306 rcl_jump_threshold_t jump_threshold;
307- jump_threshold.min_forward .nanoseconds = 0 ;
308- jump_threshold.min_backward .nanoseconds = 0 ;
307+ jump_threshold.min_forward .nanoseconds = 1 ;
308+ jump_threshold.min_backward .nanoseconds = - 1 ;
309309 jump_threshold.on_clock_change = true ;
310310
311311 rclcpp::TimeSource ts (node);
@@ -396,8 +396,8 @@ TEST_F(TestTimeSource, callbacks) {
396396TEST_F (TestTimeSource, callback_handler_erasure) {
397397 CallbackObject cbo;
398398 rcl_jump_threshold_t jump_threshold;
399- jump_threshold.min_forward .nanoseconds = 0 ;
400- jump_threshold.min_backward .nanoseconds = 0 ;
399+ jump_threshold.min_forward .nanoseconds = 1 ;
400+ jump_threshold.min_backward .nanoseconds = - 1 ;
401401 jump_threshold.on_clock_change = true ;
402402
403403 rclcpp::TimeSource ts (node);
You can’t perform that action at this time.
0 commit comments