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

gary_williams
10.54.2007 c1f1c7a2d1c4869bff5b12ff8a5da3c63f583cf1
Fix Issue 1593 tests don't  wait for task COMPLETED_SUCCESSFULLY
1 files modified
8 ■■■■ changed files
opends/tests/functional-tests/shared/functions/dsadm.xml 8 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/shared/functions/dsadm.xml
@@ -33,7 +33,7 @@
      This function configures a Directory Server using a script
    </function-prolog>    
    <function-map-args>
      <function-arg-def name="location" type="optional" default="'%s' % STAXServiceMachine">
      <function-arg-def name="location" type="optional" default="'%s' % STAF_REMOTE_HOSTNAME">
        <function-arg-description>
          Location of target host
        </function-arg-description>
@@ -2359,8 +2359,8 @@
      </script>
             
      <!-- Wait for the task to be COMPLETED_SUCCESSFULLY -->
      <script>RC=1</script>
      <loop from="1" to="5" while="RC != 0">
      <script>taskRC=1</script>
      <loop from="1" to="5" while="taskRC != 0">
        <sequence>
        
          <message>
@@ -2391,7 +2391,7 @@
  
          <if expr='re.search(searchre, result) != None'>
            <sequence>
              <script>RC=0</script>
              <script>taskRC=0</script>
              <message>
                '%s' % searchResult
              </message>