replication.xml revision 46d65eecfbcfec665501d308ac990af49f7b37ae
3112N/A<?xml version="1.0" encoding="UTF-8" standalone="no"?>
3112N/A<!DOCTYPE stax SYSTEM "/shared/stax.dtd">
3112N/A<!--
3112N/A ! CDDL HEADER START
3112N/A !
3112N/A ! The contents of this file are subject to the terms of the
3112N/A ! Common Development and Distribution License, Version 1.0 only
3112N/A ! (the "License"). You may not use this file except in compliance
3112N/A ! with the License.
3112N/A !
3112N/A ! You can obtain a copy of the license at
3112N/A ! trunk/opends/resource/legal-notices/OpenDS.LICENSE
3112N/A ! or https://OpenDS.dev.java.net/OpenDS.LICENSE.
3112N/A ! See the License for the specific language governing permissions
3112N/A ! and limitations under the License.
3112N/A !
3112N/A ! When distributing Covered Code, include this CDDL HEADER in each
3112N/A ! file and include the License file at
3112N/A ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
3112N/A ! add the following below this CDDL HEADER, with the fields enclosed
3112N/A ! by brackets "[]" replaced with your own identifying information:
3112N/A ! Portions Copyright [yyyy] [name of copyright owner]
3112N/A !
5061N/A ! CDDL HEADER END
5332N/A !
3112N/A ! Copyright 2009 Sun Microsystems, Inc.
4458N/A ! -->
4458N/A<stax>
4458N/A
4458N/A <defaultcall function="main_replication"/>
3832N/A
3832N/A <function name="main_replication">
4458N/A
3832N/A <function-list-args>
3832N/A <function-required-arg name="STAXParentID"/>
4458N/A </function-list-args>
4974N/A
5580N/A <sequence>
4458N/A
5581N/A <block name="'replication'">
5580N/A
5332N/A <sequence>
5580N/A
5580N/A <!--- Load the job environment for the test group execution -->
4978N/A <import machine="STAF_LOCAL_HOSTNAME"
4978N/A file="'%s/environment.xml' % TESTS_FUNCTIONS_DIR"/>
5361N/A <call function="'loadJobEnvironment'">
4978N/A { 'parent' : STAXParentID }
5010N/A </call>
4978N/A
3832N/A <script>
4458N/A CurrentTestPath['group']='replication'
4458N/A
4458N/A timerDuration = '620m'
4458N/A
4458N/A # Time in second (minimum duration: 30 min => 1800 s)
4458N/A testsDuration = 1800
4458N/A numberOfEntries = 10000
4495N/A </script>
4495N/A
4495N/A <call function="'testGroup_Preamble'"/>
4495N/A
4495N/A <script>
4495N/A testList = []
4458N/A testList.append('replication_add_delete')
4458N/A testList.append('replication_search')
4458N/A testList.append('replication_modifyrdn')
4458N/A testList.append('replication_modify')
4458N/A testList.append('replication_add_mod_delete')
4714N/A testList.append('replication_add_mod_delete_search')
4714N/A
4714N/A testList.append('replication_add_search_multiple')
4458N/A testList.append('replication_add_delete_multiple')
4458N/A testList.append('replication_add_modify_multiple')
4458N/A testList.append('replication_add_del_add_del_multiple')
4495N/A testList.append('replication_modify_multiple')
4458N/A testList.append('replication_modify_modifyrdn_multiple')
4458N/A testList.append('replication_modifyrdn_multiple')
4458N/A
4458N/A #testList.append('replication_modify_restart_multiple')
4458N/A
4458N/A globalAssuredReplication = None
4723N/A </script>
4458N/A
4458N/A <iterate var="__test" in="testList">
4458N/A <sequence>
4458N/A
5417N/A <import machine="STAF_LOCAL_HOSTNAME"
5417N/A file="'%s/testcases/replication/%s.xml' %
5417N/A (TESTS_DIR,__test)"/>
880N/A
4714N/A <call function="'%s' % __test" />
4714N/A
4714N/A </sequence>
4714N/A </iterate>
3832N/A
4458N/A <call function="'testGroup_Postamble'"/>
5061N/A
4458N/A </sequence>
4458N/A
4458N/A </block>
4458N/A
4458N/A </sequence>
5061N/A
5061N/A </function>
900N/A
4458N/A</stax>
900N/A