Skip to content

Fix flaky test: incompatible qos conditions [13582] #2431

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

Merged
merged 2 commits into from
Feb 17, 2022

Conversation

richiware
Copy link
Member

@richiware richiware commented Jan 25, 2022

Sometimes the DDSStatus.IncompatibleQosConditions test fails due to PubSubReader::incompatible_qos() not taking into account total_count_changes, and instead only increasing the variable times_incompatible_qos_ by one each time the Waitset returns. This PR corrects PubSubReader::incompatible_qos() so it uses times_incompatible_qos_.

Signed-off-by: Ricardo González Moreno <[email protected]>
Signed-off-by: Ricardo González Moreno <[email protected]>
@richiware richiware changed the title Fix flaky test: incompatible qos conditions Fix flaky test: incompatible qos conditions [13582] Jan 26, 2022
Copy link
Member

@MiguelCompany MiguelCompany left a comment

Choose a reason for hiding this comment

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

I think this failing test is related with the changes here.

@richiware
Copy link
Member Author

richiware commented Feb 14, 2022

I was checking the failed test and I think it is not related with my changes. The failing function calls directly to the DataReader API. Nothing to do with my changes in PubSubReader.

@MiguelCompany MiguelCompany merged commit 8be39c2 into master Feb 17, 2022
@MiguelCompany MiguelCompany deleted the bugfix/fix-incompatible-qos-test branch February 17, 2022 15:47
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