[Asterisk-code-review] bob does not exist: Make test use different ports for the co... (testsuite[master])

Anonymous Coward asteriskteam at digium.com
Thu Oct 15 14:50:28 CDT 2015


Anonymous Coward #1000019 has submitted this change and it was merged.

Change subject: bob_does_not_exist: Make test use different ports for the combinations.
......................................................................


bob_does_not_exist: Make test use different ports for the combinations.

* Add missing test dependencies.

Change-Id: I89a55ad8ba79cd2362409e90a491e6eaa437e202
---
M tests/channels/pjsip/basic_calls/outgoing/off-nominal/bob_does_not_exist/configs/ast1/pjsip.conf
M tests/channels/pjsip/basic_calls/outgoing/off-nominal/bob_does_not_exist/test-config.yaml
2 files changed, 8 insertions(+), 6 deletions(-)

Approvals:
  Kevin Harwell: Looks good to me, but someone else must approve
  Anonymous Coward #1000019: Verified
  Joshua Colp: Looks good to me, approved



diff --git a/tests/channels/pjsip/basic_calls/outgoing/off-nominal/bob_does_not_exist/configs/ast1/pjsip.conf b/tests/channels/pjsip/basic_calls/outgoing/off-nominal/bob_does_not_exist/configs/ast1/pjsip.conf
index a5e7593..21c83a5 100644
--- a/tests/channels/pjsip/basic_calls/outgoing/off-nominal/bob_does_not_exist/configs/ast1/pjsip.conf
+++ b/tests/channels/pjsip/basic_calls/outgoing/off-nominal/bob_does_not_exist/configs/ast1/pjsip.conf
@@ -51,7 +51,7 @@
 
 [bob-ipv4-tcp]
 type=aor
-contact=sip:bob-ipv4-tcp at 127.0.0.1:5062\;transport=tcp
+contact=sip:bob-ipv4-tcp at 127.0.0.1:5063\;transport=tcp
 ;================
 
 ;== IPv6 & UDP ==
@@ -62,7 +62,7 @@
 
 [bob-ipv6-udp]
 type=aor
-contact=sip:bob-ipv6-udp@[::1]:5062\;transport=udp
+contact=sip:bob-ipv6-udp@[::1]:5064\;transport=udp
 ;================
 
 ;== IPv6 & TCP ==
@@ -73,6 +73,6 @@
 
 [bob-ipv6-tcp]
 type=aor
-contact=sip:bob-ipv6-tcp@[::1]:5062\;transport=tcp
+contact=sip:bob-ipv6-tcp@[::1]:5065\;transport=tcp
 ;================
 
diff --git a/tests/channels/pjsip/basic_calls/outgoing/off-nominal/bob_does_not_exist/test-config.yaml b/tests/channels/pjsip/basic_calls/outgoing/off-nominal/bob_does_not_exist/test-config.yaml
index c472367..c5950e8 100644
--- a/tests/channels/pjsip/basic_calls/outgoing/off-nominal/bob_does_not_exist/test-config.yaml
+++ b/tests/channels/pjsip/basic_calls/outgoing/off-nominal/bob_does_not_exist/test-config.yaml
@@ -34,9 +34,9 @@
        -
            scenarios:
                - { 'key-args': {'scenario': 'receive.xml', '-i': '127.0.0.1', '-p': '5062', '-s': 'bob-ipv4-udp'} }
-               - { 'key-args': {'scenario': 'receive.xml', '-i': '127.0.0.1', '-p': '5062', '-t': 't1', '-s': 'bob-ipv4-tcp'} }
-               - { 'target': '[::1]', 'key-args': {'scenario': 'receive.xml', '-i': '[::1]', '-p': '5062', '-s': 'bob-ipv6-udp'} }
-               - { 'target': '[::1]', 'key-args': {'scenario': 'receive.xml', '-i': '[::1]', '-p': '5062', '-t': 't1', '-s': 'bob-ipv6-tcp'} }
+               - { 'key-args': {'scenario': 'receive.xml', '-i': '127.0.0.1', '-p': '5063', '-t': 't1', '-s': 'bob-ipv4-tcp'} }
+               - { 'target': '[::1]', 'key-args': {'scenario': 'receive.xml', '-i': '[::1]', '-p': '5064', '-s': 'bob-ipv6-udp'} }
+               - { 'target': '[::1]', 'key-args': {'scenario': 'receive.xml', '-i': '[::1]', '-p': '5065', '-t': 't1', '-s': 'bob-ipv6-tcp'} }
 
 originator-config-ipv4-udp:
     trigger: 'scenario_start'
@@ -141,6 +141,8 @@
     dependencies:
         - sipp :
             version : 'v3.3'
+        - asterisk : 'app_dial'
+        - asterisk : 'app_userevent'
         - asterisk : 'res_pjsip'
     tags:
         - pjsip

-- 
To view, visit https://gerrit.asterisk.org/1435
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I89a55ad8ba79cd2362409e90a491e6eaa437e202
Gerrit-PatchSet: 2
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>



More information about the asterisk-code-review mailing list