From 3db80141a6548d9e51ee9b3335b675f1f144b32f Mon Sep 17 00:00:00 2001
From: andrug <andrug@localhost>
Date: Thu, 17 Apr 2008 16:30:08 +0000
Subject: [PATCH] fix typo: set a generic name : replace nbMaxSearch by nbMaxOperations
---
opendj-sdk/opends/tests/system-tests/scenario/sample/conf.xml | 6 +++---
opendj-sdk/opends/tests/system-tests/scenario/sample2/conf.xml | 6 +++---
opendj-sdk/opends/tests/system-tests/scenario/conf.dtd | 2 +-
opendj-sdk/opends/tests/system-tests/clients/modifyLoad/modifyLoad.xml | 11 ++++++-----
4 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/opendj-sdk/opends/tests/system-tests/clients/modifyLoad/modifyLoad.xml b/opendj-sdk/opends/tests/system-tests/clients/modifyLoad/modifyLoad.xml
index 9c4e475..4e2442f 100755
--- a/opendj-sdk/opends/tests/system-tests/clients/modifyLoad/modifyLoad.xml
+++ b/opendj-sdk/opends/tests/system-tests/clients/modifyLoad/modifyLoad.xml
@@ -56,6 +56,7 @@
<!-- to inform scheduler if it has pass/fail status -->
<script>
errNum = 0
+ msg = ''
</script>
<!-- ================== Preamble =================== -->
@@ -89,10 +90,10 @@
nbCnx = NOT_DEFINED
msg = '%s\nERROR: nbCnx undefined,mandatory' % msg
try:
- nbMaxSearch = cParams[3][1]
+ nbMaxModify = cParams[3][1]
except IndexError:
- nbMaxSearch = NOT_DEFINED
- msg = '%s\nERROR: nbMaxSearch undefined,mandatory' % msg
+ nbMaxModify = NOT_DEFINED
+ msg = '%s\nERROR: nbMaxModify undefined,mandatory' % msg
try:
attributeName = cParams[4][1]
except IndexError:
@@ -120,7 +121,7 @@
parms.append('-b "%s"' % baseDn)
parms.append('-D "%s" -w "%s"' % \
(DIRECTORY_INSTANCE_DN,DIRECTORY_INSTANCE_PSWD))
- parms.append('-t %s -M %s -d %s' % (nbCnx,nbMaxSearch,duration))
+ parms.append('-t %s -M %s -d %s' % (nbCnx,nbMaxModify,duration))
if attributeName != NOT_DEFINED:
parms.append('-a %s' % attributeName)
parms = ' '.join(parms)
@@ -223,7 +224,7 @@
</call>
<call function="'writeMessage'">
{ 'fileFd' : fileFd,
- 'content' : 'Do ldapsearchs on %s:%s' % \
+ 'content' : 'Do ldapModify on %s:%s' % \
(serverInstance.getHost(),serverInstance.getLDAPPort())
}
</call>
diff --git a/opendj-sdk/opends/tests/system-tests/scenario/conf.dtd b/opendj-sdk/opends/tests/system-tests/scenario/conf.dtd
index d006859..7994472 100755
--- a/opendj-sdk/opends/tests/system-tests/scenario/conf.dtd
+++ b/opendj-sdk/opends/tests/system-tests/scenario/conf.dtd
@@ -128,6 +128,6 @@
<!ELEMENT serverInstance (#PCDATA)>
<!ELEMENT baseDn (#PCDATA)>
<!ELEMENT nbCnx (#PCDATA)>
- <!ELEMENT nbMaxSearch (#PCDATA)>
+ <!ELEMENT nbMaxOperations (#PCDATA)>
<!ELEMENT attribute (#PCDATA)>
diff --git a/opendj-sdk/opends/tests/system-tests/scenario/sample/conf.xml b/opendj-sdk/opends/tests/system-tests/scenario/sample/conf.xml
index 6c940d1..9200266 100755
--- a/opendj-sdk/opends/tests/system-tests/scenario/sample/conf.xml
+++ b/opendj-sdk/opends/tests/system-tests/scenario/sample/conf.xml
@@ -112,7 +112,7 @@
<serverInstance>I1</serverInstance>
<baseDn>dc=com</baseDn>
<nbCnx>5</nbCnx>
- <nbMaxSearch>5</nbMaxSearch>
+ <nbMaxOperations>5</nbMaxOperations>
<attribute>sn</attribute>
</client>
@@ -121,7 +121,7 @@
<serverInstance>I2</serverInstance>
<baseDn>dc=com</baseDn>
<nbCnx>5</nbCnx>
- <nbMaxSearch>5</nbMaxSearch>
+ <nbMaxOperations>5</nbMaxOperations>
<attribute>sn</attribute>
</client>
@@ -140,7 +140,7 @@
<serverInstance>I1</serverInstance>
<baseDn>dc=com</baseDn>
<nbCnx>5</nbCnx>
- <nbMaxSearch>5</nbMaxSearch>
+ <nbMaxOperations>5</nbMaxOperations>
<attribute>sn</attribute>
</client>
</module>
diff --git a/opendj-sdk/opends/tests/system-tests/scenario/sample2/conf.xml b/opendj-sdk/opends/tests/system-tests/scenario/sample2/conf.xml
index c19f663..c665ba7 100755
--- a/opendj-sdk/opends/tests/system-tests/scenario/sample2/conf.xml
+++ b/opendj-sdk/opends/tests/system-tests/scenario/sample2/conf.xml
@@ -114,7 +114,7 @@
<serverInstance>I1</serverInstance>
<baseDn>dc=com</baseDn>
<nbCnx>5</nbCnx>
- <nbMaxSearch>5</nbMaxSearch>
+ <nbMaxOperations>5</nbMaxOperations>
<attribute>sn</attribute>
</client>
@@ -123,7 +123,7 @@
<serverInstance>I2</serverInstance>
<baseDn>dc=com</baseDn>
<nbCnx>5</nbCnx>
- <nbMaxSearch>5</nbMaxSearch>
+ <nbMaxOperations>5</nbMaxOperations>
<attribute>sn</attribute>
</client>
@@ -142,7 +142,7 @@
<serverInstance>I1</serverInstance>
<baseDn>dc=com</baseDn>
<nbCnx>5</nbCnx>
- <nbMaxSearch>5</nbMaxSearch>
+ <nbMaxOperations>5</nbMaxOperations>
<attribute>sn</attribute>
</client>
</module>
--
Gitblit v1.10.0