Skip to content

Commit

Permalink
Fixes from review/CI.
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Lalancette <[email protected]>
  • Loading branch information
clalancette committed Dec 14, 2020
1 parent 0e75d87 commit e2ba3ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rclpy/test/test_rate.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

import pytest
import rclpy
from rclpy.exceptions import ROSInterruptException
from rclpy.executors import SingleThreadedExecutor

# Hz
Expand Down Expand Up @@ -129,7 +130,7 @@ def test_shutdown_wakes_rate():

rate = node.create_rate(0.0000001)

_thread = threading.Thread(target=sleep_check_exception, args=rate, daemon=True)
_thread = threading.Thread(target=sleep_check_exception, args=(rate,), daemon=True)
_thread.start()
executor.shutdown()
node.destroy_node()
Expand Down

0 comments on commit e2ba3ba

Please sign in to comment.