From 51e95cda2e94f48f5e277c26db11a6d8018301e3 Mon Sep 17 00:00:00 2001
From: gary_williams <gary_williams@localhost>
Date: Tue, 05 Jun 2007 09:26:09 +0000
Subject: [PATCH] Issue 606 implement a full re-synchronization through a protocol
---
opendj-sdk/opends/tests/functional-tests/testcases/replication/replication.xml | 47 +++++++++++++++++++++++++++--------------------
1 files changed, 27 insertions(+), 20 deletions(-)
diff --git a/opendj-sdk/opends/tests/functional-tests/testcases/synchronization/synchronization.xml b/opendj-sdk/opends/tests/functional-tests/testcases/replication/replication.xml
old mode 100755
new mode 100644
similarity index 60%
rename from opendj-sdk/opends/tests/functional-tests/testcases/synchronization/synchronization.xml
rename to opendj-sdk/opends/tests/functional-tests/testcases/replication/replication.xml
index 01c97a8..b88f2f0
--- a/opendj-sdk/opends/tests/functional-tests/testcases/synchronization/synchronization.xml
+++ b/opendj-sdk/opends/tests/functional-tests/testcases/replication/replication.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE stax SYSTEM "../../stax.dtd">
+<!DOCTYPE stax SYSTEM "../../../stax.dtd">
<!--
! CDDL HEADER START
!
@@ -27,35 +27,42 @@
! -->
<stax>
- <defaultcall function="main_synchronization"/>
+ <defaultcall function="main_replication"/>
- <function name="main_synchronization">
+ <function name="main_replication">
<sequence>
- <block name="'synchronization'">
-
+ <block name="'replication'">
+
<sequence>
-
- <script>
- CurrentTestPath['group']='synchronization'
- </script>
-
- <call function="'testGroup_Preamble'"/>
-
<import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
- file="'%s/testcases/synchronization/basic/synchronization_basic.xml' % (TESTS_DIR)"/>
- <call function="'synchronization_basic'" />
-
-
-
+ file="'%s/environment.xml' % (TESTS_FUNCTIONS_DIR)" />
+ <call function="'loadEnvironment'" />
+
+ <script>
+ CurrentTestPath={}
+ envAlreadyLoaded='true'
+ CurrentTestPath['group']='replication'
+ </script>
+
+ <call function="'testGroup_Preamble'"/>
+
+ <import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
+ file="'%s/testcases/replication/totalupdate/totalupdate.xml' % (TESTS_DIR)"/>
+ <call function="'main_totalupdate'" />
+
+ <import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
+ file="'%s/testcases/replication/basic/replication_basic.xml' % (TESTS_DIR)"/>
+ <call function="'replication_basic'" />
+
<call function="'testGroup_Postamble'"/>
-
+
</sequence>
-
+
</block>
-
+
</sequence>
</function>
--
Gitblit v1.10.0