From 4d9ec51b7c325e3367501e44dedd16132f937785 Mon Sep 17 00:00:00 2001
From: andrug <andrug@localhost>
Date: Mon, 23 Jun 2008 16:04:30 +0000
Subject: [PATCH] QA: System Test: Split clients to have preamble,run,postamble

---
 opends/tests/system-tests/scenario/4MMR/conf.xml |   61 +++++++++++++-----------------
 1 files changed, 27 insertions(+), 34 deletions(-)

diff --git a/opends/tests/system-tests/scenario/4MMR/conf.xml b/opends/tests/system-tests/scenario/4MMR/conf.xml
index adc0e4a..7760851 100755
--- a/opends/tests/system-tests/scenario/4MMR/conf.xml
+++ b/opends/tests/system-tests/scenario/4MMR/conf.xml
@@ -44,7 +44,7 @@
       </description>
     </scenario>
     
-    <opendsZip>NEED_VALUE</opendsZip>
+    <opendsZip>/local/qa/build/OpenDS-1.0.0.zip</opendsZip>
     <!-- Example : <domain>france.sun.com</domain> -->
     <domain></domain>
   </globalParameters>
@@ -53,47 +53,31 @@
   <!-- ================= Instance ============================== -->
   <instance name="I1" product="opends" role="ldapServer">
     <host>localhost</host>
-    <installDir>NEED_VALUE</installDir>
+    <installDir>/local/qa/realtmp/systest/I1</installDir>
     <ports>
       <ldap>5021</ldap>
       <ldaps>5022</ldaps>
       <jmx>5023</jmx>
       <replicationServer>5025</replicationServer>
     </ports>
-    <tuning>
-      <java xms="2g" xmx="2g"
-            xxNewSize="512m" xxMaxNewSize="512m"
-            xxSurvivorRatio="6" xxPermSize="128m"
-            xxMaxPermSize="128m" xxUseConcMarkSweepGC="true"/>
-      <databaseCachePercentage>40</databaseCachePercentage>
-      <replicationPurgeDelay unit="h">4</replicationPurgeDelay>
-    </tuning>
   </instance>
   
   <!-- ================= Instance ============================== -->
   <instance name="I2" product="opends" role="ldapServer">
     <host>localhost</host>
-    <installDir>NEED_VALUE</installDir>
+    <installDir>/local/qa/realtmp/systest/I2</installDir>
     <ports>
       <ldap>6021</ldap>
       <ldaps>6022</ldaps>
       <jmx>6023</jmx>
       <replicationServer>6025</replicationServer>
     </ports>
-    <tuning>
-      <java xms="2g" xmx="2g"
-            xxNewSize="512m" xxMaxNewSize="512m"
-            xxSurvivorRatio="6" xxPermSize="128m"
-            xxMaxPermSize="128m" xxUseConcMarkSweepGC="true"/>
-      <databaseCachePercentage>40</databaseCachePercentage>
-      <replicationPurgeDelay unit="h">4</replicationPurgeDelay>
-    </tuning>
   </instance>
   
   <!-- ================= Instance ============================== -->
-  <instance name="I3" product="opends" role="ldapServer">
+<!--  <instance name="I3" product="opends" role="ldapServer">
     <host>localhost</host>
-    <installDir>NEED_VALUE</installDir>
+    <installDir>NsEED_VALUE</installDir>
     <ports>
       <ldap>7021</ldap>
       <ldaps>7022</ldaps>
@@ -109,11 +93,11 @@
       <replicationPurgeDelay unit="h">4</replicationPurgeDelay>
     </tuning>
   </instance>
-  
+-->  
   <!-- ================= Instance ============================== -->
-  <instance name="I4" product="opends" role="ldapServer">
+<!--  <instance name="I4" product="opends" role="ldapServer">
     <host>localhost</host>
-    <installDir>NEED_VALUE</installDir>
+    <installDir>NsEED_VALUE</installDir>
     <ports>
       <ldap>8021</ldap>
       <ldaps>8022</ldaps>
@@ -129,7 +113,7 @@
       <replicationPurgeDelay unit="h">4</replicationPurgeDelay>
     </tuning>
   </instance>
-  
+  -->
   <!-- ================= Suffix  ============================== -->
   <suffix dn="dc=com">
     
@@ -137,10 +121,10 @@
      	<element instanceName="I1" initRule="importLdif"/>
       <element instanceName="I2" initRule="totalUpdate"
                instanceSourceName="I1"/>
-      <element instanceName="I3" initRule="totalUpdate"
+     <!-- <element instanceName="I3" initRule="totalUpdate"
                instanceSourceName="I1"/>
       <element instanceName="I4" initRule="totalUpdate"
-               instanceSourceName="I1"/>
+               instanceSourceName="I1"/>-->
     </topology>
     
     <tree nbOfEntries="200">
@@ -168,7 +152,7 @@
   <!-- [2] dependencyId is a list of client id ie : 1,2         -->
   <!--     if using it, specify id attribute for each clients   -->
   <scheduler>
-    <duration unit="h">4</duration> 
+    <duration unit="m">2</duration> 
     <!-- 60h : 1% <-> 36 min , 10% <-> 6h -->
     
     
@@ -176,19 +160,28 @@
     <!--== Module 1 ==-->
     <module name="search" enabled="true">
       
-      <client id="1" name="searchLoad" host="localhost" start="t0" stop="t10">
+      <client id="1" name="searchLoad" host="gahia" start="t0" stop="t100">
         <serverInstance>I1</serverInstance>
         <baseDn>dc=com</baseDn>
-        <nbCnx>20</nbCnx>
-        <nbMaxOperations>20</nbMaxOperations>
+        <nbCnx>2</nbCnx>
+        <nbMaxOperations>2</nbMaxOperations>
         <attribute>sn</attribute>
       </client>
-      
+      <client id="2" name="modifyLoad" host="gahia" start="t10" stop="t90">
+        <serverInstance>I1</serverInstance>
+        <baseDn>dc=com</baseDn>
+        <nbCnx>2</nbCnx>
+        <nbMaxOperations>2</nbMaxOperations>
+        <attribute>sn</attribute>
+      </client>
+      <client id="8" name="restartDs" host="localhost" start="t70">
+        <serverInstance>I1</serverInstance>
+      </client>
     </module>
     
     
     <!--== Module 2 ==-->
-    <module name="modify" enabled="true">
+    <module name="modify" enabled="false">
       
       <client id="3" name="modifyLoad" host="localhost" start="t20" stop="t50">
         <serverInstance>I1</serverInstance>
@@ -221,7 +214,7 @@
       
       <client id="7" name="restartDs" host="localhost" start="t70"
                                                        dependencyId="6">
-        <serverInstance>I3</serverInstance>
+        <serverInstance>I1</serverInstance>
       </client>
       
     </module>

--
Gitblit v1.10.0