From 09670254d836e1613803ebd65afe774edbd99b05 Mon Sep 17 00:00:00 2001
From: ugaston <ugaston@localhost>
Date: Fri, 22 Jan 2010 17:55:09 +0000
Subject: [PATCH] Add External Changelog search to replication stress tests

---
 opends/tests/staf-tests/shared/functions/environment.xml |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/opends/tests/staf-tests/shared/functions/environment.xml b/opends/tests/staf-tests/shared/functions/environment.xml
index 48aad28..71b860f 100755
--- a/opends/tests/staf-tests/shared/functions/environment.xml
+++ b/opends/tests/staf-tests/shared/functions/environment.xml
@@ -202,6 +202,15 @@
         MultimasterSync = 'Multimaster Synchronization'
         MultimasterType = 'multimaster'
 
+        # Replication execution mode variables: if not defined, set random value
+        import random
+        
+        if REPLICATION_SPLIT_SERVERS == '':
+          REPLICATION_SPLIT_SERVERS = random.choice(['true', 'false'])
+        
+        if REPLICATION_ECL_MODE == '':
+          REPLICATION_ECL_MODE = random.choice(['opends', 'draft'])
+
         # Create staf objects
         LOCAL_STAF_ROOT  = test_env.staf(STAF_LOCAL_HOSTNAME).root
         REMOTE_STAF_ROOT = test_env.staf(STAF_REMOTE_HOSTNAME).root

--
Gitblit v1.10.0