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/replication/replication.xml | 32 ++++++++++++++++++++++++++------
1 files changed, 26 insertions(+), 6 deletions(-)
diff --git a/opends/tests/functional-tests/testcases/replication/replication.xml b/opends/tests/functional-tests/testcases/replication/replication.xml
index 655ac55..6ac1e35 100644
--- a/opends/tests/functional-tests/testcases/replication/replication.xml
+++ b/opends/tests/functional-tests/testcases/replication/replication.xml
@@ -28,19 +28,39 @@
<stax>
<defaultcall function="main_replication"/>
<function name="main_replication">
+ <function-list-args>
+ <function-required-arg name="STAXParentID"/>
+ </function-list-args>
<sequence>
<block name="'replication'">
<sequence>
+ <!--- 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={}
- envAlreadyLoaded='true'
CurrentTestPath['group']='replication'
</script>
<call function="'testGroup_Preamble'"/>
- <iterate var="_test"
- in="['totalupdate','binarycopy','ldifimport',
- 'resynchronization','basic','schema','failover',
- 'encryption','changelog', 'conflict']">
+
+ <!-- List of replication test suites to run -->
+ <script>
+ testList = []
+# testList.append('totalupdate')
+# testList.append('binarycopy')
+# testList.append('ldifimport')
+# testList.append('resynchronization')
+# testList.append('basic')
+# testList.append('schema')
+# testList.append('failover')
+ testList.append('encryption')
+# testList.append('changelog')
+# testList.append('conflict')
+ </script>
+
+ <iterate var="_test" in="testList" >
<sequence>
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/testcases/replication/%s/%s.xml' %
--
Gitblit v1.10.0