diff --git a/tests/channels/pjsip/subscriptions/mwi/unsolicited/incoming/sipp/allowed.xml b/tests/channels/pjsip/subscriptions/mwi/unsolicited/incoming/sipp/allowed.xml index 884b453aa..58f0b484f 100644 --- a/tests/channels/pjsip/subscriptions/mwi/unsolicited/incoming/sipp/allowed.xml +++ b/tests/channels/pjsip/subscriptions/mwi/unsolicited/incoming/sipp/allowed.xml @@ -29,3 +29,5 @@ Voice-Message: 7/2 (3/6) + + \ No newline at end of file diff --git a/tests/channels/pjsip/subscriptions/mwi/unsolicited/incoming/sipp/not_allowed.xml b/tests/channels/pjsip/subscriptions/mwi/unsolicited/incoming/sipp/not_allowed.xml index 4f415e164..3bc803355 100644 --- a/tests/channels/pjsip/subscriptions/mwi/unsolicited/incoming/sipp/not_allowed.xml +++ b/tests/channels/pjsip/subscriptions/mwi/unsolicited/incoming/sipp/not_allowed.xml @@ -29,3 +29,5 @@ Voice-Message: 7/2 (3/6) + + \ No newline at end of file diff --git a/tests/channels/pjsip/subscriptions/mwi/unsolicited/incoming/test-config.yaml b/tests/channels/pjsip/subscriptions/mwi/unsolicited/incoming/test-config.yaml index 62e5c0b6f..ab832124f 100644 --- a/tests/channels/pjsip/subscriptions/mwi/unsolicited/incoming/test-config.yaml +++ b/tests/channels/pjsip/subscriptions/mwi/unsolicited/incoming/test-config.yaml @@ -22,10 +22,14 @@ sipp-config: fail-on-any: True stop-after-scenarios: False test-iterations: +# Don't be tempted to run the sipp scenarios in parallel. The test ends when the TestEvent +# for the "not allowed" scenario arrives so if Asterisk happens to send it before the +# TestEvent for the "allowed" scenario the test will end with an "Event occurred 0 times." - scenarios: -# Kick both sipp scenarios off at the same time since they're hitting different endpoints - {'key-args': { 'scenario': 'allowed.xml', '-s': 'allowed', '-p': '5061' }} + - + scenarios: - {'key-args': { 'scenario': 'not_allowed.xml', '-s': 'not_allowed', '-p': '5062' }} ami-action-config: