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

Christophe Sovant
25.09.2013 7d59da27ea7ef3fde60601c3a27ffcc7b4be2ff0
CR-1908 Added basic stress on replicated topology and added add/del operation
=> fixed cleanup for operations testsuite
=> removed traces for sdk tools

2 files modified
33 ■■■■■ changed files
opends/tests/staf-tests/shared/functions/sdk.xml 30 ●●●●● patch | view | raw | blame | history
opends/tests/staf-tests/stress-tests/testcases/operations/basic/operations_basic.xml 3 ●●●● patch | view | raw | blame | history
opends/tests/staf-tests/shared/functions/sdk.xml
@@ -304,6 +304,7 @@
          }
        </call>
      <else>
        <sequence>
        <call function="'runCommand'">
          { 'command'     : STAFCmd,
            'arguments'   : STAFCmdParams,
@@ -313,13 +314,14 @@
            'knownIssue'  : knownIssue
          }
        </call>
      </else>
      </if>
      
      <script>
        for line in STAXResult[0][1].split('\n'):
          print line
      </script>
        </sequence>
      </else>
      </if>
      <return>
        STAXResult
@@ -458,6 +460,7 @@
          }
        </call>
      <else>
        <sequence>
        <call function="'runCommand'">
          { 'command'     : STAFCmd,
            'arguments'   : STAFCmdParams,
@@ -467,13 +470,14 @@
            'knownIssue'  : knownIssue
          }
        </call>
      </else>
      </if>
      
      <script>
        for line in STAXResult[0][1].split('\n'):
          print line
      </script>
        </sequence>
      </else>
      </if>
      <return>
        STAXResult
@@ -630,6 +634,7 @@
          }
        </call>
      <else>
        <sequence>
        <call function="'runCommand'">
          { 'command'     : STAFCmd,
            'arguments'   : STAFCmdParams,
@@ -639,13 +644,14 @@
            'knownIssue'  : knownIssue
          }
        </call>
      </else>
      </if>
      
      <script>
        for line in STAXResult[0][1].split('\n'):
          print line
      </script>
        </sequence>
      </else>
      </if>
      <return>
        STAXResult
@@ -784,6 +790,7 @@
          }
        </call>
      <else>
        <sequence>
        <call function="'runCommand'">
          { 'command'     : STAFCmd,
            'arguments'   : STAFCmdParams,
@@ -793,13 +800,14 @@
            'knownIssue'  : knownIssue
          }
        </call>
      </else>
      </if>
      
      <script>
        for line in STAXResult[0][1].split('\n'):
          print line
      </script>
        </sequence>
      </else>
      </if>
      <return>
        STAXResult
@@ -938,6 +946,7 @@
          }
        </call>
      <else>
        <sequence>
        <call function="'runCommand'">
          { 'command'     : STAFCmd,
            'arguments'   : STAFCmdParams,
@@ -947,13 +956,14 @@
            'knownIssue'  : knownIssue
          }
        </call>
      </else>
      </if>
      
      <script>
        for line in STAXResult[0][1].split('\n'):
          print line
      </script>
        </sequence>
      </else>
      </if>
      <return>
        STAXResult
opends/tests/staf-tests/stress-tests/testcases/operations/basic/operations_basic.xml
@@ -121,8 +121,7 @@
              <!-- Test Suite Cleanup -->
              <message>'Finally: Global Cleanup.'</message>
              <try>
                <!--<call function="'common_cleanup'" />-->
                <message>'gfgd'</message>
                <call function="'common_cleanup'" />
              <catch exception="'STAFException'">
                <sequence>
                  <message log="1" level="'fatal'">'Cleanup of test suite failed.'</message>