You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would think it is very unlikely that the combined output is actually equal to the expected output but it was printed via the "wrong" stream. At least I have never seen a false positive like this.
Do you have any specific use case where this is actually problematic?
Assuming there is none I will mark this as an enhancement for the backlog. Please consider to contribute a pull request for this.
This utility logs a successful transition to stdout but an unsuccessful one to stderr. So if you're piping the output of the utility, you'll likely get an incomplete view of what's happening, and you may get log messages confusingly out of order.
ros2cli tests don't verify which stream output comes out on (stdout vs stderr).
These tests should confirm that the expected output does indeed come out via the expected stream, instead of munging together stdout and stderr.
See related #482, which may be wholly or partially attributed to this issue.
The text was updated successfully, but these errors were encountered: