From 75e789577e089751d395faac10873e0285bf3a54 Mon Sep 17 00:00:00 2001
From: gary_williams <gary_williams@localhost>
Date: Wed, 03 Sep 2008 09:46:18 +0000
Subject: [PATCH] make each test group a job

---
 opends/tests/functional-tests/testcases/logging/logging.xml |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/opends/tests/functional-tests/testcases/logging/logging.xml b/opends/tests/functional-tests/testcases/logging/logging.xml
index 0321ce5..47da17c 100755
--- a/opends/tests/functional-tests/testcases/logging/logging.xml
+++ b/opends/tests/functional-tests/testcases/logging/logging.xml
@@ -36,12 +36,21 @@
 <stax>
   <defaultcall function="main_logging"/>
   <function name="main_logging">
+    <function-list-args>
+      <function-required-arg name="STAXParentID"/>
+    </function-list-args>
     <sequence>
       <block name="'logging'">
          <sequence>
-           <script>
-             CurrentTestPath['group']='logging'
-           </script>
+          <!--- Load the job environment for the test group execution -->
+          <import machine="STAF_LOCAL_HOSTNAME"
+                  file="'%s/environment.xml' % TESTS_FUNCTIONS_DIR" />
+          <call function="'loadJobEnvironment'">
+               { 'parent' : STAXParentID }
+          </call>
+          <script>
+            CurrentTestPath['group']='logging'
+          </script>
           <call function="'testGroup_Preamble'" />        
           <!-- 'setup','rotation','retention','writer','properties','retention_properties','rotation_properties','cleanup'-->
           <iterate var="_test" in="['setup','rotation','retention','writer','properties','retention_properties','rotation_properties','cleanup']" >

--
Gitblit v1.10.0