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

Christophe Sovant
21.00.2013 b6f4914bb5b5d33a6565e61e9ce4da9b7d6fa1d4
If a server fails to stop, kill it to avoid impact on other testcases
1 files modified
9 ■■■■ changed files
opends/tests/staf-tests/shared/functions/utils.xml 9 ●●●● patch | view | raw | blame | history
opends/tests/staf-tests/shared/functions/utils.xml
@@ -783,7 +783,7 @@
    <sequence>
      <script>checkRC=9999</script>
      <loop from="1" to="noOfLoops" var="loop" while="checkRC != 48">
      <loop from="1" to="100" var="loop" while="checkRC != 48">
        <sequence>
          <message>
            'Check if %s/logs/server.pid still exists on host %s' \
@@ -818,6 +818,13 @@
            % (noOfLoops*noOfMilliSeconds,dsPath,location)
          </message>
          <tcstatus result="'fail'"/>
          <!-- Kill the server to avoid impact on the other testcases -->
          <call function="'killDs'">
            { 'location' : location,
              'dsPath'   : dsPath
            }
          </call>
        </sequence>
      </if>
    </sequence>