From a5342a63cdd178130115549632beaf3b33aaf51c Mon Sep 17 00:00:00 2001
From: gary_williams <gary_williams@localhost>
Date: Thu, 01 Mar 2007 15:19:37 +0000
Subject: [PATCH] Issue 1287 prepare common shared function for synchronization

---
 opends/tests/functional-tests/testcases/quickstart/quickstart.xml |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/opends/tests/functional-tests/testcases/quickstart/quickstart.xml b/opends/tests/functional-tests/testcases/quickstart/quickstart.xml
index a13bddb..e658cd1 100755
--- a/opends/tests/functional-tests/testcases/quickstart/quickstart.xml
+++ b/opends/tests/functional-tests/testcases/quickstart/quickstart.xml
@@ -43,8 +43,8 @@
                 'Start DS to run on port %s' % (DIRECTORY_INSTANCE_PORT)
              </message>
       
-             <call function="'startDS'">
-               { 'dsbinpath' : '%s' % (OPENDS_BINPATH) }
+             <call function="'StartDsWithScript'">
+               { 'location'  : STAF_REMOTE_HOSTNAME }
              </call>
       
              <call function="'checkRC'">
@@ -90,14 +90,19 @@
     		     'Stop DS running on port %s' % (DIRECTORY_INSTANCE_PORT)
     		  </message>
     		
-    		  <call function="'stopDS'">
-    		    { 'dsInstancePort' : '%s' % (DIRECTORY_INSTANCE_PORT) }
-    		  </call>
+              <call function="'StopDsWithScript'">
+                  { 'location'  : STAF_REMOTE_HOSTNAME,
+                    'dsHost'    : DIRECTORY_INSTANCE_HOST,
+                    'dsPort'    : DIRECTORY_INSTANCE_PORT,
+                    'dsBindDN'  : DIRECTORY_INSTANCE_DN,
+                    'dsBindPwd' : DIRECTORY_INSTANCE_PSWD }
+              </call>
     		
     		  <call function="'checkRC'">
     		      { 'returncode' : RC ,
     		        'result'     : STAXResult }
     		  </call>
+          
     		</sequence>
     
           </sequence>

--
Gitblit v1.10.0