0N/A<?
xml version="1.0" encoding="UTF-8" standalone="no"?>
0N/A ! The contents of this file are subject to the terms of the 0N/A ! Common Development and Distribution License, Version 1.0 only 0N/A ! (the "License"). You may not use this file except in compliance 0N/A ! You can obtain a copy of the license at 0N/A ! See the License for the specific language governing permissions 0N/A ! and limitations under the License. 0N/A ! When distributing Covered Code, include this CDDL HEADER in each 0N/A ! file and include the License file at 0N/A ! add the following below this CDDL HEADER, with the fields enclosed 0N/A ! by brackets "[]" replaced with your own identifying information: 0N/A ! Portions Copyright [yyyy] [name of copyright owner] 0N/A ! Copyright 2007-2010 Sun Microsystems, Inc. 0N/A <
defaultcall function="main_replication"/>
0N/A <
function name="main_replication">
0N/A <
function-
list-
args>
0N/A <
function-
required-
arg name="STAXParentID"/>
0N/A </
function-
list-
args>
0N/A <
block name="'replication'">
0N/A <!--- Load the job environment for the test group execution --> 0N/A <
import machine="STAF_LOCAL_HOSTNAME" 0N/A <
call function="'loadJobEnvironment'">
0N/A { 'parent' : STAXParentID }
0N/A CurrentTestPath['group']='replication'
0N/A <
call function="'testGroup_Preamble'"/>
0N/A <!-- List of replication test suites to run --> 0N/A globalAssuredReplication = None
0N/A if (REPLICATION_SPLIT_SERVERS == 'true'):
0N/A globalSplitServers = True
0N/A globalSplitServers = None
0N/A <
iterate var="_suite" in="suiteList" >
0N/A <
import machine="STAF_LOCAL_HOSTNAME" 0N/A (TESTS_DIR,_suite,_suite)"/>
0N/A <
call function="'replication_%s'% _suite" />
0N/A <
message log="1" level="'fatal'">
0N/A 'Setup of test suite %s failed.' % _suite
0N/A <
message log="1" level="'fatal'">
0N/A 'Main part of test suite %s failed.' % _suite
0N/A <
message log="1" level="'fatal'">
0N/A 'Cleanup of test suite %s failed.' % _suite
0N/A <
message log="1" level="'fatal'">
0N/A 'Execution of Test Group Failed'
0N/A <!-- Test Group postamble --> 0N/A <
call function="'testGroup_Postamble'"/>