Skip to content

Add test for possible race in guard condition notification#280

Open
MiguelCompany wants to merge 2 commits into
ros2:rollingfrom
eProsima:add_test_for_guard_conditions_race
Open

Add test for possible race in guard condition notification#280
MiguelCompany wants to merge 2 commits into
ros2:rollingfrom
eProsima:add_test_for_guard_conditions_race

Conversation

@MiguelCompany

Copy link
Copy Markdown
Contributor

Description

Adds a test that checks that notifying 10 guard conditions from one thread while using rmw_wait in another thread makes all conditions be notified exactly once.

Is this user-facing behavior change?

Did you use Generative AI?

Additional Information

Due to the flaky nature of race conditions, the test shall be run with --ctest-args --repeat until-fail:10 to make it fail

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
@mergify

mergify Bot commented Jul 8, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

…times

Signed-off-by: Janosch Machowinski <J.Machowinski@cellumation.com>
@jmachowinski

Copy link
Copy Markdown

Pulls: #280
Gist: https://gist.githubusercontent.com/jmachowinski/af01714931f1a9e9c84953772b358874/raw/5f6845b6185f6cabf9e5ca3c96e22acff579ed44/ros2.repos
BUILD args:
TEST args:
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/19795

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

@jmachowinski

Copy link
Copy Markdown

Pulls: #280, ros2/rmw_fastrtps#895
Gist: https://gist.githubusercontent.com/jmachowinski/82143d362c43feb12295efa9e4e95af8/raw/8d562eae8818c75dd24bb468cd2f0aa888fdefb2/ros2.repos
BUILD args:
TEST args:
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/19804

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

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.

2 participants