mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

andrug
28.24.2008 2aff790ecbc2c230020cb457903c522e26319bf0
updates: client can use localhost...
2 files modified
35 ■■■■■ changed files
opends/tests/system-tests/scenario/sample/conf.xml 29 ●●●●● patch | view | raw | blame | history
opends/tests/system-tests/scenario/sample/sample.xml 6 ●●●● patch | view | raw | blame | history
opends/tests/system-tests/scenario/sample/conf.xml
@@ -25,10 +25,13 @@
 !
 !      Copyright 2008 Sun Microsystems, Inc.
 ! -->
<!-- This conf.xml file is an example, to run it, -->
<!-- replace variable NEED_VALUE                  -->
<!--==================================================================-->
<!-- This conf.xml file is an example                                 -->
<!-- BEFORE running system-tests, you need to set up your environment -->
<!--==================================================================-->
<systemTestConfiguration>
  
  <!-- ================= Global Parameters ===================== -->
@@ -48,14 +51,20 @@
  
  <!-- ================= Instance ============================== -->
  <instance name="I1" product="opends">
    <host>NEED_VALUE</host>
    <host>localhost</host>
    <installDir>NEED_VALUE</installDir>
  </instance>
  
  <!-- ================= Instance ============================== -->
  <instance name="I2" product="opends">
    <host>NEED_VALUE</host>
    <host>localhost</host>
    <installDir>NEED_VALUE</installDir>
    <ports>
      <ldap>1234</ldap>
      <ldaps>1235</ldaps>
      <jmx>1236</jmx>
      <replicationServer>1237</replicationServer>
    </ports>
  </instance>
  
  
@@ -98,7 +107,7 @@
    <!--== Module 1 ==-->
    <module name="search" enabled="true">
    
      <client id="1" name="searchLoad" host="NEED_VALUE" start="t30"
      <client id="1" name="searchLoad" host="localhost" start="t30"
                                                         stop="t60">
        <serverInstance>I1</serverInstance>
        <baseDn>dc=com</baseDn>
@@ -107,7 +116,7 @@
        <attribute>sn</attribute>
      </client>
      
      <client id="2" name="searchLoad" host="NEED_VALUE" start="t0"
      <client id="2" name="searchLoad" host="localhost" start="t0"
                                                         stop="t50">
        <serverInstance>I2</serverInstance>
        <baseDn>dc=com</baseDn>
@@ -121,7 +130,7 @@
    <!--== Module 2 ==-->
    <module name="restart_and_modify" enabled="true">
      
      <client id="3" name="restartDs" host="NEED_VALUE" start="t50"
      <client id="3" name="restartDs" host="localhost" start="t50"
                                                        dependencyId="1">
        <serverInstance>I2</serverInstance>
        <baseDn>dc=com</baseDn>
@@ -130,7 +139,7 @@
        <attribute>sn</attribute>
      </client>
      
      <client id="4" name="modifyLoad" host="NEED_VALUE" start="t60"
      <client id="4" name="modifyLoad" host="localhost" start="t60"
                                                         stop="t100">
        <serverInstance>I1</serverInstance>
        <baseDn>dc=com</baseDn>
opends/tests/system-tests/scenario/sample/sample.xml
@@ -36,12 +36,12 @@
        
        <!-- directoryName must have the name of the current directory -->
        <script>
          dirName  = 'sample'
          confFile = '%s/scenario/%s/conf.xml' % (TESTS_DIR,dirName)
          dirName   = 'sample'
          CONF_FILE = '%s/scenario/%s/conf.xml' % (TESTS_DIR,dirName)
        </script>
        <call function="'main_run'">
        {
         'configurationFile': confFile,
         'configurationFile': CONF_FILE,
         'runInstallation'  : 'true',
         'runGenerateLdif'  : 'true',
         'runConfiguration' : 'true',