-
Notifications
You must be signed in to change notification settings - Fork 770
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
[19870] PubSubAsReliable test fix #3994
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Mario Dominguez <[email protected]>
Signed-off-by: Mario Dominguez <[email protected]>
Signed-off-by: Mario Dominguez <[email protected]>
@richiprosima please test windows |
@richiprosima please test windows please test linux |
Signed-off-by: Mario Dominguez <[email protected]>
JesusPoderoso
approved these changes
Nov 8, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with green CI
@richiprosima please test this |
@richiprosima please test mac |
1 similar comment
@richiprosima please test mac |
JesusPoderoso
added
ready-to-merge
Ready to be merged. CI and changes have been reviewed and approved.
and removed
ci-pending
PR which CI is running
labels
Nov 11, 2023
@Mergifyio backport 2.11.x 2.10.x 2.6.x |
✅ Backports have been created
|
mergify bot
pushed a commit
that referenced
this pull request
Nov 13, 2023
* Refs #19803: Let descriptor percentages be dynamically configured Signed-off-by: Mario Dominguez <[email protected]> * Refs #19803: Fix test Signed-off-by: Mario Dominguez <[email protected]> * Refs #19803: address windows warning Signed-off-by: Mario Dominguez <[email protected]> * Refs #19770: Rev suggestion Signed-off-by: Mario Dominguez <[email protected]> --------- Signed-off-by: Mario Dominguez <[email protected]> (cherry picked from commit ded6cd6)
This was referenced Nov 13, 2023
9 tasks
EduPonz
pushed a commit
that referenced
this pull request
Dec 1, 2023
* Refs #19803: Let descriptor percentages be dynamically configured Signed-off-by: Mario Dominguez <[email protected]> * Refs #19803: Fix test Signed-off-by: Mario Dominguez <[email protected]> * Refs #19803: address windows warning Signed-off-by: Mario Dominguez <[email protected]> * Refs #19770: Rev suggestion Signed-off-by: Mario Dominguez <[email protected]> --------- Signed-off-by: Mario Dominguez <[email protected]> (cherry picked from commit ded6cd6)
MiguelCompany
added a commit
that referenced
this pull request
Dec 1, 2023
* PubSubAsReliable test fix (#3994) * Refs #19803: Let descriptor percentages be dynamically configured Signed-off-by: Mario Dominguez <[email protected]> * Refs #19803: Fix test Signed-off-by: Mario Dominguez <[email protected]> * Refs #19803: address windows warning Signed-off-by: Mario Dominguez <[email protected]> * Refs #19770: Rev suggestion Signed-off-by: Mario Dominguez <[email protected]> --------- Signed-off-by: Mario Dominguez <[email protected]> (cherry picked from commit ded6cd6) * Make `test_UDPv4TransportDescriptor` non-copyable and non-moveable (#4017) * Make `test_UDPv4TransportDescriptor` non-copyable and default moveable * Make test_UDPv4TransportDescriptor non-moveable Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Miguel Company <[email protected]> Co-authored-by: Mario Domínguez López <[email protected]> Co-authored-by: Miguel Company <[email protected]>
EduPonz
pushed a commit
that referenced
this pull request
Dec 2, 2023
* PubSubAsReliable test fix (#3994) * Refs #19803: Let descriptor percentages be dynamically configured Signed-off-by: Mario Dominguez <[email protected]> * Refs #19803: Fix test Signed-off-by: Mario Dominguez <[email protected]> * Refs #19803: address windows warning Signed-off-by: Mario Dominguez <[email protected]> * Refs #19770: Rev suggestion Signed-off-by: Mario Dominguez <[email protected]> --------- Signed-off-by: Mario Dominguez <[email protected]> (cherry picked from commit ded6cd6) * Make `test_UDPv4TransportDescriptor` non-copyable and non-moveable (#4017) * Make `test_UDPv4TransportDescriptor` non-copyable and default moveable * Make test_UDPv4TransportDescriptor non-moveable Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Miguel Company <[email protected]> Co-authored-by: Mario Domínguez López <[email protected]> Co-authored-by: Miguel Company <[email protected]>
EduPonz
pushed a commit
that referenced
this pull request
Dec 4, 2023
* Refs #19803: Let descriptor percentages be dynamically configured Signed-off-by: Mario Dominguez <[email protected]> * Refs #19803: Fix test Signed-off-by: Mario Dominguez <[email protected]> * Refs #19803: address windows warning Signed-off-by: Mario Dominguez <[email protected]> * Refs #19770: Rev suggestion Signed-off-by: Mario Dominguez <[email protected]> --------- Signed-off-by: Mario Dominguez <[email protected]> (cherry picked from commit ded6cd6)
EduPonz
pushed a commit
that referenced
this pull request
Dec 11, 2023
* PubSubAsReliable test fix (#3994) * Refs #19803: Let descriptor percentages be dynamically configured Signed-off-by: Mario Dominguez <[email protected]> * Refs #19803: Fix test Signed-off-by: Mario Dominguez <[email protected]> * Refs #19803: address windows warning Signed-off-by: Mario Dominguez <[email protected]> * Refs #19770: Rev suggestion Signed-off-by: Mario Dominguez <[email protected]> --------- Signed-off-by: Mario Dominguez <[email protected]> (cherry picked from commit ded6cd6) * Make `test_UDPv4TransportDescriptor` non-copyable and non-moveable (#4017) * Make `test_UDPv4TransportDescriptor` non-copyable and default moveable * Make test_UDPv4TransportDescriptor non-moveable Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Miguel Company <[email protected]> Co-authored-by: Mario Domínguez López <[email protected]> Co-authored-by: Miguel Company <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
The
PubSubHistory/PubSubHistory.PubSubAsReliableKeepLastWithKeyUnorderedReception
consistently fails if it is launched withtaskset -c 2 [command]
(which makes the test to run in one core). The reason is that thedrop data percentage
deterministically drop every 1 out of 5 DATA packages sent (User endpoints only, discovery traffic endpoints are not considered, so any change in the discovery settings results in no effect).The changes let the
test_UDPTransportDescriptor
percentages to be dynamically updated, and proposes a fix for the test which consists in varying the drop percentage after having received some packets.Note: The complete launch command is
taskset -c 2 ./BlackboxTests_DDS_PIM --gtest_filter=PubSubHistory/PubSubHistory.PubSubAsReliableKeepLastWithKeyUnorderedReception/Transport_PREALLOCATED
@Mergifyio backport 2.11.x 2.10.x 2.6.x
Contributor Checklist
versions.md
file (if applicable).Reviewer Checklist