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

ugaston
18.49.2007 694f29b025f9f4adc657ceba572b3188c5500787
opends/tests/functional-tests/testcases/backends/import-tasks.xml
@@ -39,30 +39,12 @@
        <sequence>
  
          <script>
            if not CurrentTestPath.has_key('group'):
              CurrentTestPath['group']='backends'
            CurrentTestPath['suite']=STAXCurrentBlock
          </script>
          
          <call function="'testSuite_Preamble'"/>
          <!--- Start DS -->
          <message>
            'Start DS to run on port %s' % DIRECTORY_INSTANCE_PORT
          </message>
          <call function="'StartDsWithScript'">
           { 'location'  : STAF_REMOTE_HOSTNAME }
          </call>
          <call function="'checkRC'">
             { 'returncode' : RC ,
               'result'     : STAXResult }
          </call>
          <!--- Check that DS started -->
          <call function="'isAlive'">
            { 'noOfLoops'        : 5 ,
              'noOfMilliSeconds' : 2000 }
          </call>
          <!--- Test Suite information
            #@TestSuiteName       Backend Import Tasks Tests
@@ -73,7 +55,13 @@
            #@TestScript          import-tasks.xml
            #@TestHTMLLink        http://opends.dev.java.net/
          -->
          <import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
            file="'%s/testcases/backends/backend_setup.xml' % (TESTS_DIR)"/>
          <call function="'backend_setup'" />
          <!--- Test Case information
            #@TestMarker          Backend Import Tasks Tests
            #@TestName            Import Tasks: LDIF Default
@@ -1357,25 +1345,12 @@
            <!-- Need to know what the error codes are -->
                
          <!--- Stop DS -->
          <message>
            'Stop DS running on port %s' % (DIRECTORY_INSTANCE_PORT)
          </message>
          <!--- Stop DS -->
          <call function="'StopDsWithScript'">
              { 'location'  : STAF_REMOTE_HOSTNAME,
                'dsHost'    : DIRECTORY_INSTANCE_HOST,
                'dsPort'    : DIRECTORY_INSTANCE_PORT,
                'dsBindDN'  : DIRECTORY_INSTANCE_DN,
                'dsBindPwd' : DIRECTORY_INSTANCE_PSWD }
          </call>
          <call function="'checkRC'">
             { 'returncode' : RC ,
               'result'     : STAXResult }
          </call>
          <import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
            file="'%s/testcases/backends/backend_cleanup.xml' % (TESTS_DIR)"/>
          <call function="'backend_cleanup'" />
          <call function="'testSuite_Postamble'"/>
        </sequence>