[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 12:16:17 CDT 2011


branch "review" has been updated
       via  146b261e31be123f2991fd4d2578724175b478ba (commit)
      from  b956e55dfc529281e2b15f394f59c498ad16b74d (commit)

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


- Log -----------------------------------------------------------------
commit 146b261e31be123f2991fd4d2578724175b478ba
Author: Darren Sessions <dsessions at digium.com>
Date:   Fri Jun 3 12:16:14 2011 -0500

    create log files of the icebox processes to attach to the bamboo job as artifacts. tweaked one of the test yaml files.

diff --git a/plugins/asteriskscf_icebox.py b/plugins/asteriskscf_icebox.py
index b89edad..c3ea417 100644
--- a/plugins/asteriskscf_icebox.py
+++ b/plugins/asteriskscf_icebox.py
@@ -13,6 +13,7 @@ import TestSuite
 
 class plugin(TestSuite.RemoteBaseClass):
     def main(self, testData, testPath, globalVars, rpc):
+        print testData
         iceBoxCmd = ['/opt/Ice-3.4.1/bin/icebox', '--Ice.Config=!!TMP!!/']
 
         ''' start and stop individual components. shutdown is implemented in the main testsuite code ''' 
@@ -25,7 +26,7 @@ class plugin(TestSuite.RemoteBaseClass):
                     results = rpc.setEnvVar('libpath', '!!TMP!!/gitall/build/lib')
                     if results['success'] == False:
                         return results
-                    results = rpc.run('asteriskscf_icebox', component, [iceBoxCmd[0], "%s%s.conf" % (iceBoxCmd[1], component)])
+                    results = rpc.run('asteriskscf_icebox', component, [iceBoxCmd[0], "%s%s.conf" % (iceBoxCmd[1], component), '>%s/tmp/artifacts/%s.log'])
                     if results['success'] == False:
                         return results
             elif cmd == 'stop':
diff --git a/tests/sip/SysTest_Functional_Basic_CallSetup/testcase.yaml b/tests/sip/SysTest_Functional_Basic_CallSetup/testcase.yaml
index 97095b9..2e9130b 100644
--- a/tests/sip/SysTest_Functional_Basic_CallSetup/testcase.yaml
+++ b/tests/sip/SysTest_Functional_Basic_CallSetup/testcase.yaml
@@ -2,7 +2,7 @@ name : SysTest_Functional_Basic_CallSetup
 options : 
     network_captures: True
     call_flow_diagrams: True
-    restart_persistant_plugins_between_tests: False
+    restart_persistant_plugins_between_tests: True
 tests :
     - ipv4toipv4 :
         expected_failure : False 

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


-- 
asterisk-scf/integration/testsuite.git



More information about the asterisk-scf-commits mailing list