From 4e7101fd2097719f302d0948d855f23fff6059f8 Mon Sep 17 00:00:00 2001
From: Christophe Sovant <christophe.sovant@forgerock.com>
Date: Mon, 26 Oct 2009 15:18:37 +0000
Subject: [PATCH] Frontport of 2.2 tests to the trunk

---
 opends/tests/staf-tests/functional-tests/testcases/replication/ldifimport/ldifimport.xml |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/opends/tests/staf-tests/functional-tests/testcases/replication/ldifimport/ldifimport.xml b/opends/tests/staf-tests/functional-tests/testcases/replication/ldifimport/ldifimport.xml
index 401e12a..ec3957b 100644
--- a/opends/tests/staf-tests/functional-tests/testcases/replication/ldifimport/ldifimport.xml
+++ b/opends/tests/staf-tests/functional-tests/testcases/replication/ldifimport/ldifimport.xml
@@ -23,7 +23,7 @@
  !
  ! CDDL HEADER END
  !
- !      Copyright 2007-2008 Sun Microsystems, Inc.
+ !      Copyright 2007-2009 Sun Microsystems, Inc.
  ! -->
 <stax>
 
@@ -132,7 +132,7 @@
                 '+++++ ldif import off-line: export suffix on server %s:%s' \
                 % (masterHost, master.getPort())
               </message>                
-              <call function="'exportLdif'">
+              <call function="'exportLdifWithScript'">
                 { 'location'  : masterHost,
                   'dsPath'    : masterPath,
                   'ldifFile'  : '%s/replication/master_export.ldif' \
@@ -324,14 +324,13 @@
                 '+++++ ldif import on-line: export suffix on server %s:%s' \
                 % (masterHost, master.getPort())
               </message>                     
-              <call function="'exportLdifTask'">
+              <call function="'exportLdifWithScript'">
                 { 'location'       : masterHost,
                   'dsPath'         : masterPath,
                   'dsInstanceHost' : masterHost,
-                  'dsInstancePort' : master.getPort(),
+                  'dsInstanceAdminPort' : master.getAdminPort(),
                   'dsInstanceDn'   : master.getRootDn(),
                   'dsInstancePswd' : master.getRootPwd(),
-                  'taskID'         : 'export task',
                   'ldifFile'       : sourceFile
                 }
               </call>                

--
Gitblit v1.10.0