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

smaguin
14.53.2008 fd9379e6c94fc3d3eef94ed54c08f527e9790130
opends/tests/functional-tests/testcases/tasks/export-ldif.xml
@@ -101,6 +101,7 @@
          #@TestPurpose         Schedule a Export in task mode to be executed immedialy in synchronous mode
          #@TestPreamble
          #@TestStep            Execute a export-ldif in a task
          #@TestStep            Execute manage-tasks output and check the Export task is returned
          #@TestStep            Don't specify the -t option
          #@TestStep            The task is scheduled for immediate execution and the script must wait the end of the export
          #@TestPostamble
@@ -121,6 +122,27 @@
              'backEnd'   : 'userRoot'}
            </call>
            
            <!-- manage-tasks -->
            <call function="'manage-tasks'">
              { 'location'     : STAF_REMOTE_HOSTNAME ,
              'dsInstanceHost' : DIRECTORY_INSTANCE_HOST,
              'dsInstancePort' : DIRECTORY_INSTANCE_PORT,
              'dsInstanceDn'   : DIRECTORY_INSTANCE_DN,
              'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD,
              'dsQuiet'        : ' '
              }
            </call>
            <script>
              returnString = STAXResult[0][1]
            </script>
            <call function="'searchStringForSubstring'">
              { 'returnString'      : returnString,
              'testString'    : 'Export',
              'expectedResult'      : '1' }
            </call>
            
            <message>'--- Check log files ---'</message>
            <call function="'listFolder'">
@@ -185,16 +207,6 @@
              </else>
            </if>
            
            <call function="'RestartDs'">
              { 'dsHost'     : DIRECTORY_INSTANCE_HOST,
              'dsPort'    : DIRECTORY_INSTANCE_PORT,
              'dsBindDN'  : DIRECTORY_INSTANCE_DN,
              'dsBindPwd' : DIRECTORY_INSTANCE_PSWD
              }
            </call>
            <call function="'testCase_Postamble'"/>
          </sequence>
        </testcase>