Skip to content

Add new tests - python#79

Merged
angelrti merged 39 commits into
masterfrom
add_new_test_python_0725
Jun 2, 2026
Merged

Add new tests - python#79
angelrti merged 39 commits into
masterfrom
add_new_test_python_0725

Conversation

@angelrti
Copy link
Copy Markdown
Contributor

@angelrti angelrti commented Feb 26, 2026

This PR runs several new tests with the options that are already in master. Please upload a new executable, otherwise tests will fail or will show "not supported".
I've created the draft release https://github.com/omg-dds/dds-rtps/releases/tag/untagged-4184f9579b03abc94c64 for the new executables

angelrti added 27 commits July 31, 2025 12:05
… test_size_receivers that relies on the size of the samples, less error prone
@mitza-oci mitza-oci requested a review from iguessthislldo March 5, 2026 20:57
@angelrti angelrti requested a review from jrw972 April 7, 2026 16:19
Copy link
Copy Markdown
Contributor

@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.

Would be nice if you could rebase so we can better review the changes

Comment thread test_suite.py
'apps' : ['-P -t Square --num-iterations 200 --num-instances 4',
'-S -t Square'],
'expected_codes' : [ReturnCode.OK, ReturnCode.OK],
'check_function' : tsf.test_unregistering_w_instances,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

DDS 1.4 Page 101, pdf page 113, WRITER_DATA_LIFECYCLE QoS, Values autodispose_unregistered_instances

Controls whether a DataWriter will automatically dispose instances each time they are unregistered. The setting autodispose_unregistered_instances = TRUE indicates that unregistered instances will also be considered disposed. By default, TRUE.

Therefore the default behavior should check for disposed instances.

Suggested change
'check_function' : tsf.test_unregistering_w_instances,
'check_function' : tsf.test_disposing_w_instances,

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think this is true, however the unregister is what most vendors are doing (including cyclone with other vendors). We need to discuss the behavior of the delete + autodispose behavior next week in the DDS PSIG

@angelrti
Copy link
Copy Markdown
Contributor Author

angelrti commented Jun 2, 2026

Merging this to master as a squash. If you have feedback feel free to add it as a pull request

@angelrti angelrti merged commit aaa3c11 into master Jun 2, 2026
2 checks passed
@angelrti angelrti deleted the add_new_test_python_0725 branch June 2, 2026 16:25
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.

4 participants