[asterisk-scf-commits] asterisk-scf/integration/testsuite.git branch "review" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Fri Jun 3 10:58:25 CDT 2011


branch "review" has been updated
       via  b956e55dfc529281e2b15f394f59c498ad16b74d (commit)
      from  1ba4292f81c6d8ca5100efa03c151300a50c5ab1 (commit)

Summary of changes:
 plugins/asteriskscf_configurator.py                |    1 -
 .../testcase.yaml                                  |  146 +++++++++++++++++++-
 2 files changed, 144 insertions(+), 3 deletions(-)


- Log -----------------------------------------------------------------
commit b956e55dfc529281e2b15f394f59c498ad16b74d
Author: Darren Sessions <dsessions at digium.com>
Date:   Fri Jun 3 10:58:23 2011 -0500

    removed some debug messages from the configurator plugin. added ipv4toipv6 and ipv6toipv4 test cases to the SysTest_Functional_Basic_CallSetup test.

diff --git a/plugins/asteriskscf_configurator.py b/plugins/asteriskscf_configurator.py
index f00daa7..03f332b 100644
--- a/plugins/asteriskscf_configurator.py
+++ b/plugins/asteriskscf_configurator.py
@@ -52,7 +52,6 @@ class plugin(TestSuite.BaseClass):
             results = ConfiguratorApp(cmd, testData['service_locator_host'], testData['cmd'][cmd], AsteriskSCF, testData['configuration_wipe'], serviceLocatorParams).main([''])
             if 'msg' in results:
                 results['msg'] = "['%s' component] %s" % (cmd, results['msg'])
-            print >> sys.stderr, results
             if results['success'] == False:
                 return {'success':False, 'shutdownExempt':'True', 'msg':results['msg']}
 
diff --git a/tests/sip/SysTest_Functional_Basic_CallSetup/testcase.yaml b/tests/sip/SysTest_Functional_Basic_CallSetup/testcase.yaml
index aa8159b..97095b9 100644
--- a/tests/sip/SysTest_Functional_Basic_CallSetup/testcase.yaml
+++ b/tests/sip/SysTest_Functional_Basic_CallSetup/testcase.yaml
@@ -21,7 +21,7 @@ tests :
                 configuration_wipe : False
                 cmd :
                     sip :
-                        - localhost_udp :
+                        - listen_udp4 :
                             type : transport_udp
                             host : testsuite-remote-1.digium.internal
                             port : 5060
@@ -87,7 +87,7 @@ tests :
                 configuration_wipe : False
                 cmd :
                     sip :
-                        - localhost_udp6 :
+                        - listen_udp6 :
                             type : transport_udp
                             host : testsuite-remote-1.digium.internal
                             port : 5060
@@ -135,3 +135,145 @@ tests :
                         ipv4oripv6 : ipv6
                         transport : udp
                         timeout : 10
+    - ipv6toipv4 :
+        expected_failure : False 
+        timeline:
+            - asteriskscf_icebox :
+                testsuite_remote_host : testsuite-remote-1.digium.internal
+                cmd :
+                    start :
+                        - service_locator
+                        - logger_server
+                        - bridge
+                        - routing
+                        - sip_session_gateway
+                        - media_rtp_pjmedia
+            - asteriskscf_configurator :
+                service_locator_host : testsuite-remote-1.digium.internal
+                configuration_wipe : False
+                cmd :
+                    sip :
+                        - listen_udp4 :
+                            type : transport_udp
+                            host : testsuite-remote-1.digium.internal
+                            port : 5060
+                            ipv4oripv6 : ipv4
+                        - listen_udp6 :
+                            type : transport_udp
+                            host : testsuite-remote-1.digium.internal
+                            port : 5060
+                            ipv4oripv6 : ipv6
+                        - service :
+                            type : endpoint
+                            targethost : testsuite-remote-2.digium.internal
+                            targetport : 5060
+                            sourcehost : testsuite-remote-1.digium.internal
+                            sourceport : 5060
+                            ipv4oripv6 : ipv4
+                            direction : both
+                            securetransport : none
+                            rtpoveripv6 : False
+                        - sipp :
+                            type : endpoint
+                            targethost : testsuite-remote-3.digium.internal
+                            targetport : 5060
+                            sourcehost : testsuite-remote-1.digium.internal
+                            sourceport : 5060
+                            ipv4oripv6 : ipv6
+                            direction : both
+                            securetransport : none
+                            rtpoveripv6 : True
+                    rtp :
+                         - general :
+                            startport : 10001
+                            endport : 20000
+                            workerthreadcount : 4
+            - sipp:
+                testsuite_remote_host : testsuite-remote-2.digium.internal
+                cmd :
+                    - uas :
+                        transport : udp
+                        ipv4oripv6 : ipv4
+                        timeout : 10
+            - sipp:
+                testsuite_remote_host : testsuite-remote-3.digium.internal
+                cmd :
+                    - uac :
+                        calls : 1
+                        cps : 1
+                        duration : 10
+                        targethost : testsuite-remote-1.digium.internal
+                        ipv4oripv6 : ipv6
+                        transport : udp
+                        timeout : 10
+    - ipv4toipv6 :
+        expected_failure : False 
+        timeline:
+            - asteriskscf_icebox :
+                testsuite_remote_host : testsuite-remote-1.digium.internal
+                cmd :
+                    start :
+                        - service_locator
+                        - logger_server
+                        - bridge
+                        - routing
+                        - sip_session_gateway
+                        - media_rtp_pjmedia
+            - asteriskscf_configurator :
+                service_locator_host : testsuite-remote-1.digium.internal
+                configuration_wipe : False
+                cmd :
+                    sip :
+                        - listen_udp4 :
+                            type : transport_udp
+                            host : testsuite-remote-1.digium.internal
+                            port : 5060
+                            ipv4oripv6 : ipv4
+                        - listen_udp6 :
+                            type : transport_udp
+                            host : testsuite-remote-1.digium.internal
+                            port : 5060
+                            ipv4oripv6 : ipv6
+                        - service :
+                            type : endpoint
+                            targethost : testsuite-remote-2.digium.internal
+                            targetport : 5060
+                            sourcehost : testsuite-remote-1.digium.internal
+                            sourceport : 5060
+                            ipv4oripv6 : ipv6
+                            direction : both
+                            securetransport : none
+                            rtpoveripv6 : True
+                        - sipp :
+                            type : endpoint
+                            targethost : testsuite-remote-3.digium.internal
+                            targetport : 5060
+                            sourcehost : testsuite-remote-1.digium.internal
+                            sourceport : 5060
+                            ipv4oripv6 : ipv4
+                            direction : both
+                            securetransport : none
+                            rtpoveripv6 : False
+                    rtp :
+                         - general :
+                            startport : 10001
+                            endport : 20000
+                            workerthreadcount : 4
+            - sipp:
+                testsuite_remote_host : testsuite-remote-2.digium.internal
+                cmd :
+                    - uas :
+                        transport : udp
+                        ipv4oripv6 : ipv6
+                        timeout : 10
+            - sipp:
+                testsuite_remote_host : testsuite-remote-3.digium.internal
+                cmd :
+                    - uac :
+                        calls : 1
+                        cps : 1
+                        duration : 10
+                        targethost : testsuite-remote-1.digium.internal
+                        ipv4oripv6 : ipv4
+                        transport : udp
+                        timeout : 10

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/testsuite.git



More information about the asterisk-scf-commits mailing list