From 3dfb6fc07cc7f27dc0aed5e65f2838cab253c8fb Mon Sep 17 00:00:00 2001
From: Gary Williams <gary.williams@forgerock.com>
Date: Fri, 23 Mar 2012 17:23:13 +0000
Subject: [PATCH] Make setup/cleanup a tescase in replication tests.

---
 opends/tests/staf-tests/functional-tests/testcases/replication/failover/failover.xml |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/opends/tests/staf-tests/functional-tests/testcases/replication/failover/failover.xml b/opends/tests/staf-tests/functional-tests/testcases/replication/failover/failover.xml
index 03afb99..3b9a4c3 100644
--- a/opends/tests/staf-tests/functional-tests/testcases/replication/failover/failover.xml
+++ b/opends/tests/staf-tests/functional-tests/testcases/replication/failover/failover.xml
@@ -24,7 +24,7 @@
  ! CDDL HEADER END
  !
  !      Copyright 2007-2010 Sun Microsystems, Inc.
- !      Portions Copyright 2011 ForgeRock AS.
+ !      Portions Copyright 2011-2012 ForgeRock AS.
  ! -->
 <stax>
 
@@ -60,7 +60,8 @@
           <import machine="STAF_LOCAL_HOSTNAME"
             file="'%s/testcases/replication/replication_setup.xml' % (TESTS_DIR)"/>
           <call function="'replication_setup'">
-            {  'topologyFile' : '%s/3server_topology.txt' % REPLICATION_CONFIG_DIR }
+            {  'topologyFile' : '%s/3server_topology.txt' % REPLICATION_CONFIG_DIR ,
+               'label'        : 'Replication Failover' }
           </call>
                                     
           <script>
@@ -528,7 +529,9 @@
                                                 
           <import machine="STAF_LOCAL_HOSTNAME"
             file="'%s/testcases/replication/replication_cleanup.xml' % (TESTS_DIR)"/>
-          <call function="'replication_cleanup'" />
+          <call function="'replication_cleanup'" >
+            { 'label' : 'Replication Failover' }
+          </call>
                           
           <call function="'testSuite_Postamble'"/>
                   

--
Gitblit v1.10.0