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

Fix for #589 - Should be able to transform with default timeout #593

Merged
merged 2 commits into from Jul 17, 2023

Conversation

vineet131
Copy link
Contributor

As discussed in the issue, this is the fix. I haven't written any tests for this, let me know if I have missed out something.

@vineet131
Copy link
Contributor Author

Since it didn't link in the title - #589

@clalancette clalancette self-assigned this Apr 6, 2023
@ahcorde
Copy link
Contributor

ahcorde commented May 9, 2023

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

Copy link
Contributor

@tfoote tfoote left a comment

Choose a reason for hiding this comment

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

This is a good improvement. It would be great to add a unit test to make sure that this is working and keeps working as expected.

@vineet131
Copy link
Contributor Author

vineet131 commented May 17, 2023

It would be great to add a unit test to make sure that this is working and keeps working as expected.

I was about to write a test, when I noticed this. The purpose of writing this line was to suppress this very error right? So does just commenting this out work?

@tfoote
Copy link
Contributor

tfoote commented Jun 7, 2023

You don't want to remove/change that case. The unit tests should validate both cases with and without the dedicated thread. In the case of a dedicated thread both 0 and non-zero timestamps should not error. In the case of no-dedicated thread, the zero timestamp should not error, but if there's a timeout it should error.

When the timeout is default (0.0), it should NOT error.
When the timeout is NOT default, it should raise an error.
@vineet131
Copy link
Contributor Author

@clalancette @ahcorde if the added test is alright with you then this can be merged.

@ahcorde
Copy link
Contributor

ahcorde commented Jul 17, 2023

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

@ahcorde ahcorde merged commit b98963d into ros2:rolling Jul 17, 2023
2 checks passed
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.

None yet

4 participants