Skip to content

rtp: Add tests to validate rtp merge and rollback on reINVITE - #150

Closed
mbradeen wants to merge 1 commit into
asterisk:masterfrom
mbradeen:master-issue-2059
Closed

rtp: Add tests to validate rtp merge and rollback on reINVITE#150
mbradeen wants to merge 1 commit into
asterisk:masterfrom
mbradeen:master-issue-2059

Conversation

@mbradeen

@mbradeen mbradeen commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Adds the following tests
tests/channels/pjsip/rtp/payload_merge_initial_failure - Ensure
that a failed offer resets the pending media state.

tests/channels/pjsip/rtp/payload_merge_rollback - Ensure that an
invalid offer on a reINVITE rolls back the SDP on offer to the
pre-offer state

tests/rtp/payload_merge - verify successful and failed media merges
result in the expected offers

Adds the following tests
tests/channels/pjsip/rtp/payload_merge_initial_failure - Ensure
that a failed offer resets the pending media state.

tests/channels/pjsip/rtp/payload_merge_rollback - Ensure that an
invalid offer on a reINVITE rolls back the SDP on offer to the
pre-offer state

tests/rtp/payload_merge - verify successful and failed media merges
result in the expected offers
@mbradeen

mbradeen commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

cherry-pick-to: 23
cherry-pick-to: 22
cherry-pick-to: 20
cherry-pick-to: certified/20.7
cherry-pick-to: certified/22.8

@mbradeen

mbradeen commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

asterisk-test-pr: 2060

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Attention! This pull request may contain issues that could prevent it from being accepted. Please review the checklist below and take the recommended action. If you believe any of these are not applicable, just add a comment and let us know.

  • The following cherry-pick-to values are invalid: ["certified/22.8"]. Valid values are ["23","22","20","master"].

Documentation:

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

Workflow Check completed successfully

testinfo:
summary: 'Characterize RTP payload state retained across an uncommitted merge'
description: |
This test runs focused Asterisk unit tests for provisional RTP payload

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why is there a testsuite test to run unit tests? Those are run separately, either manually or part of CI.

@mbradeen mbradeen closed this Aug 5, 2026
@mbradeen
mbradeen deleted the master-issue-2059 branch August 5, 2026 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants