From 5315e67aace43ebfe1fc03be57c2c81e87fafe0e Mon Sep 17 00:00:00 2001
From: andrug <andrug@localhost>
Date: Tue, 15 Jul 2008 12:03:23 +0000
Subject: [PATCH] QA: SytemTest: set generic values for 4MMR scenario
---
opendj-sdk/opends/tests/system-tests/scenario/4MMR/conf.xml | 96 +++++++++++++++++++++++++++++------------------
1 files changed, 59 insertions(+), 37 deletions(-)
diff --git a/opendj-sdk/opends/tests/system-tests/scenario/4MMR/conf.xml b/opendj-sdk/opends/tests/system-tests/scenario/4MMR/conf.xml
index 7760851..36a29c2 100755
--- a/opendj-sdk/opends/tests/system-tests/scenario/4MMR/conf.xml
+++ b/opendj-sdk/opends/tests/system-tests/scenario/4MMR/conf.xml
@@ -44,40 +44,56 @@
</description>
</scenario>
- <opendsZip>/local/qa/build/OpenDS-1.0.0.zip</opendsZip>
+ <opendsZip>NEED_VALUE</opendsZip>
<!-- Example : <domain>france.sun.com</domain> -->
- <domain></domain>
+
</globalParameters>
<!-- ================= Instance ============================== -->
<instance name="I1" product="opends" role="ldapServer">
<host>localhost</host>
- <installDir>/local/qa/realtmp/systest/I1</installDir>
+ <installDir>NEED_VALUE</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>/local/qa/realtmp/systest/I2</installDir>
+ <installDir>NEED_VALUE</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>NsEED_VALUE</installDir>
+ <installDir>NEED_VALUE</installDir>
<ports>
<ldap>7021</ldap>
<ldaps>7022</ldaps>
@@ -93,11 +109,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>NsEED_VALUE</installDir>
+ <installDir>NEED_VALUE</installDir>
<ports>
<ldap>8021</ldap>
<ldaps>8022</ldaps>
@@ -113,7 +129,7 @@
<replicationPurgeDelay unit="h">4</replicationPurgeDelay>
</tuning>
</instance>
- -->
+
<!-- ================= Suffix ============================== -->
<suffix dn="dc=com">
@@ -121,13 +137,13 @@
<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">
+ <tree nbOfEntries="100000">
<branch name="ou=france,dc=com">
<branch name="ou=QA Engineers,ou=france,dc=com">
<subordinateTemplate type="inetOrgPerson" percentage="30"/>
@@ -152,50 +168,48 @@
<!-- [2] dependencyId is a list of client id ie : 1,2 -->
<!-- if using it, specify id attribute for each clients -->
<scheduler>
- <duration unit="m">2</duration>
+ <duration unit="h">48</duration>
<!-- 60h : 1% <-> 36 min , 10% <-> 6h -->
<!-- ============================================================= -->
<!--== Module 1 ==-->
<module name="search" enabled="true">
+ <client id="1" name="searchLoad" host="localhost" start="t0"
+ stop="t10">
+ <serverInstance>I1</serverInstance>
+ <baseDn>dc=com</baseDn>
+ <nbCnx>30</nbCnx>
+ <nbMaxOperations>500</nbMaxOperations>
+ <attribute>sn</attribute>
+ </client>
- <client id="1" name="searchLoad" host="gahia" start="t0" stop="t100">
- <serverInstance>I1</serverInstance>
- <baseDn>dc=com</baseDn>
- <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="false">
+ <module name="modify" enabled="true">
<client id="3" name="modifyLoad" host="localhost" start="t20" stop="t50">
<serverInstance>I1</serverInstance>
<baseDn>dc=com</baseDn>
+ <nbCnx>30</nbCnx>
+ <nbMaxOperations>500</nbMaxOperations>
+ <attribute>sn</attribute>
+ </client>
+ <client id="10" name="modifyLoad" host="localhost" start="t20" stop="t50">
+ <serverInstance>I2</serverInstance>
+ <baseDn>dc=com</baseDn>
<nbCnx>20</nbCnx>
- <nbMaxOperations>20</nbMaxOperations>
+ <nbMaxOperations>500</nbMaxOperations>
<attribute>sn</attribute>
</client>
<client id="4" name="searchLoad" host="localhost" start="t20" stop="t50">
<serverInstance>I4</serverInstance>
<baseDn>dc=com</baseDn>
- <nbCnx>20</nbCnx>
- <nbMaxOperations>20</nbMaxOperations>
+ <nbCnx>30</nbCnx>
+ <nbMaxOperations>500</nbMaxOperations>
<attribute>sn</attribute>
</client>
@@ -210,11 +224,19 @@
<serverInstance>I2</serverInstance>
<baseDn>dc=com</baseDn>
<nbCnx>20</nbCnx>
+ <nbMaxOperations>500</nbMaxOperations>
+ </client>
+ <client id="11" name="addDeleteLoad" host="localhost" start="t60"
+ stop="t80">
+ <serverInstance>I4</serverInstance>
+ <baseDn>dc=com</baseDn>
+ <nbCnx>20</nbCnx>
+ <nbMaxOperations>500</nbMaxOperations>
</client>
<client id="7" name="restartDs" host="localhost" start="t70"
- dependencyId="6">
- <serverInstance>I1</serverInstance>
+ dependencyId="6">
+ <serverInstance>I3</serverInstance>
</client>
</module>
--
Gitblit v1.10.0