From c709ecc706fcbf697c440d8266df93d73576eb3d Mon Sep 17 00:00:00 2001
From: ugaston <ugaston@localhost>
Date: Mon, 17 Aug 2009 17:50:11 +0000
Subject: [PATCH] Replication tests: verifyTrees refactoring + extend disableReplicaton function + small fixes
---
opends/tests/staf-tests/shared/functions/tools.xml | 18 ++++++++++++++++--
1 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/opends/tests/staf-tests/shared/functions/tools.xml b/opends/tests/staf-tests/shared/functions/tools.xml
index 835f2a5..9f92d08 100755
--- a/opends/tests/staf-tests/shared/functions/tools.xml
+++ b/opends/tests/staf-tests/shared/functions/tools.xml
@@ -669,7 +669,7 @@
</function-arg-def>
</function-list-args>
- <sequence>
+ <sequence>
<script>
myRC = 0
myKnownIssue = knownIssue
@@ -680,7 +680,21 @@
sampleTree = 'sampleTree.ldif'
treeDiffs = 'treeDiffs.ldif'
</script>
- <message>
+
+ <!-- Verify the synchronization of the trees among the servers in
+ the topology -->
+ <call function="'getReplicationStatus'">
+ { 'location' : location,
+ 'dsPath' : dsPath,
+ 'dsInstanceHost' : referenceServer.getHostname(),
+ 'dsInstanceAdminPort' : referenceServer.getAdminPort(),
+ 'replicationDnList' : [synchroSuffix],
+ 'noOfLoops' : 10,
+ 'noOfMilliSeconds' : 6000
+ }
+ </call>
+
+ <message>
'Verify tree %s taking %s as reference.' \
% (treeSuffix, referenceServerPath)
</message>
--
Gitblit v1.10.0