From 3df7b26c6810ef008d6365a8f086dbed38adab12 Mon Sep 17 00:00:00 2001
From: ugaston <ugaston@localhost>
Date: Sat, 04 Aug 2007 16:13:42 +0000
Subject: [PATCH] New replication test suites + a few fixes in existing functions

---
 opends/tests/functional-tests/testcases/replication/replication_cleanup.xml |   32 +++++---------------------------
 1 files changed, 5 insertions(+), 27 deletions(-)

diff --git a/opends/tests/functional-tests/testcases/replication/replication_cleanup.xml b/opends/tests/functional-tests/testcases/replication/replication_cleanup.xml
index 46c55c6..222e448 100644
--- a/opends/tests/functional-tests/testcases/replication/replication_cleanup.xml
+++ b/opends/tests/functional-tests/testcases/replication/replication_cleanup.xml
@@ -37,34 +37,12 @@
 
         <sequence>                			
 			 		   		
-          <!-- Stop the servers in the topology -->					           
-          <iterate var="server" in="_topologyServerList">				
-            <sequence>
-    
-              <message>
-                 'Stop DS on host %s running on port %s' % (server.getHostname(),server.getPort())
-              </message>
-
-              <!--- Stop DS -->					      
-              <call function="'StopDsWithScript'">
-                { 'location'  : server.getHostname(),
-                  'dsHost' : server.getHostname(),
-                  'dsPath' : '%s/%s' % (server.getDir(),OPENDSNAME),
-                  'dsPort'    : server.getPort(),
-                  'dsBindDN'  : server.getRootDn(),
-                  'dsBindPwd' : server.getRootPwd() }
-              </call>
-    
-              <call function="'checkRC'">
-                { 'returncode' : RC ,
-                  'result'     : STAXResult }
-              </call>
-    
-            </sequence>
-            
-  		</iterate>
+          <!-- Stop the servers in the topology -->			
+          <call function="'stopServers'">
+            [_topologyServerList]
+          </call>
   
-  		<!-- Remove  the topology created for the test suite -->
+  		  <!-- Remove  the topology created for the test suite -->
           <message>
             'Remove DS topology created for the Synchronization Basic Test Suite'
           </message>				  

--
Gitblit v1.10.0