Add regression test for unread subscription readiness across waits (backport #282) - #284
Add regression test for unread subscription readiness across waits (backport #282)#284mergify[bot] wants to merge 1 commit into
Conversation
) Signed-off-by: CY Chen <cyc@nvidia.com> (cherry picked from commit c83165f)
|
Tick the box to add this pull request to the merge queue (same as
|
|
Pulls: ros2/rmw_fastrtps#902, #284 |
|
Pulls: ros2/rmw_fastrtps#902, #284 |
Description
Add a cross-RMW regression test verifying that a subscription with an unread sample remains ready across repeated rmw_wait() calls.
The test does the following:
This reproduces the case where an executor observes a ready subscription but does not immediately take its sample, such as when a mutually exclusive callback group is temporarily unavailable.
Is this user-facing behavior change?
No. This PR adds a new test case.
Did you use Generative AI?
Yes. OpenAI GPT-5.6 was used to draft the changes in this PR.
Additional Information
This is to test the case fixed in ros2/rmw_fastrtps#900
This is an automatic backport of pull request #282 done by [Mergify](https://mergify.com).