Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Tomoya Fujita <[email protected]>
  • Loading branch information
jmachowinski and fujitatomoya authored Aug 22, 2023
1 parent 947d469 commit c6edffa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rclcpp_action/test/test_client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ TEST_F(TestClientAgainstServer, deadlock_in_callbacks)
dual_spin_until_future_complete(future_goal_handle);
auto goal_handle = future_goal_handle.get();

EXPECT_TRUE(goal_handle);
ASSERT_TRUE(goal_handle);

ASSERT_EQ(RCL_RET_OK, rcl_set_ros_time_override(clock.get_clock_handle(), RCL_S_TO_NS(2)));

Expand All @@ -923,6 +923,7 @@ TEST_F(TestClientAgainstServer, deadlock_in_callbacks)
// in case of a failure, we don't want to block further tests
tr.detach();

EXPECT_TRUE(test_done);
EXPECT_TRUE(response_callback_called);
EXPECT_TRUE(result_callback_called);
EXPECT_TRUE(feedback_callback_called);
Expand Down

0 comments on commit c6edffa

Please sign in to comment.