Skip to content

Conversation

@jacobperron
Copy link
Member

This should address #683 once backported to crytsal

@jacobperron jacobperron added the in progress Actively being worked on (Kanban column) label Apr 5, 2019
@jacobperron
Copy link
Member Author

🤞

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

/cc @nuclearsandwich

auto action_client = rclcpp_action::create_client<ActionType>(client_node, action_name);
ASSERT_TRUE(action_client->wait_for_action_server(WAIT_FOR_SERVER_TIMEOUT));

ASSERT_TRUE(action_client->wait_for_action_server(std::chrono::seconds(10)));
Copy link
Contributor

Choose a reason for hiding this comment

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

Does adding 10 seconds to WAIT_FOR_SERVER_TIMEOUT on the line above this one also fix the issue?

Copy link
Member Author

Choose a reason for hiding this comment

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

XD I didn't even see that.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll try.

Copy link
Member Author

Choose a reason for hiding this comment

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

So my grep skills failed me.

It looks like it is already waiting for 10 seconds... odd that an additional wait causes the tests to pass 🙁

Copy link
Member Author

Choose a reason for hiding this comment

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

The tests were not actually waiting anywhere close to 10 seconds either.

Copy link
Member Author

Choose a reason for hiding this comment

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

oooh, my bad. I was working off of the crystal branch, which is missing the wait calls.

@jacobperron
Copy link
Member Author

See #686 instead

@jacobperron jacobperron closed this Apr 5, 2019
@jacobperron jacobperron deleted the jacob/wait_for_server branch April 5, 2019 17:41
@jacobperron jacobperron removed the in progress Actively being worked on (Kanban column) label Apr 5, 2019
nnmm pushed a commit to ApexAI/rclcpp that referenced this pull request Jul 9, 2022
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.

3 participants