Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to be compatible with new rmw_qos_profile_t #344

Merged
merged 1 commit into from
Apr 16, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions test_rclcpp/test/test_client_scope_consistency_client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,7 @@ TEST(CLASSNAME(service_client, RMW_IMPLEMENTATION), client_scope_consistency_reg
auto node = rclcpp::Node::make_shared("client_scope_consistency_regression_test");

// Replicate the settings that caused https://github.com/ros2/system_tests/issues/153
rmw_qos_profile_t rmw_qos_profile =
{
RMW_QOS_POLICY_HISTORY_KEEP_LAST,
10,
RMW_QOS_POLICY_RELIABILITY_RELIABLE,
RMW_QOS_POLICY_DURABILITY_VOLATILE,
false
};
rmw_qos_profile_t rmw_qos_profile = rmw_qos_profile_default;
rclcpp::executor::FutureReturnCode ret1;

// Extra scope so the first client will be deleted afterwards
Expand Down
9 changes: 1 addition & 8 deletions test_rclcpp/test/test_client_scope_consistency_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,7 @@ int main(int argc, char ** argv)
auto node = rclcpp::Node::make_shared("client_scope_consistency_regression_test_server");

// Replicate the settings that caused https://github.com/ros2/system_tests/issues/153
rmw_qos_profile_t rmw_qos_profile =
{
RMW_QOS_POLICY_HISTORY_KEEP_LAST,
10,
RMW_QOS_POLICY_RELIABILITY_RELIABLE,
RMW_QOS_POLICY_DURABILITY_VOLATILE,
false
};
rmw_qos_profile_t rmw_qos_profile = rmw_qos_profile_default;
auto service = node->create_service<test_rclcpp::srv::AddTwoInts>(
"client_scope", handle_add_two_ints, rmw_qos_profile);

Expand Down