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

gary_williams
15.09.2007 e832b2548211098c93ff487495bc6fb2fac7b922
opendj-sdk/opends/tests/functional-tests/testcases/schema/schema.xml
@@ -43,76 +43,56 @@
          
          <call function="'testGroup_Preamble'"/>
    
          <parallel>
            <block name="'Block DS Process Active'">
              <!--- Start DS -->
              <sequence>
                <message>
                  'Start DS to run on port %s' % (DIRECTORY_INSTANCE_PORT)
                </message>
                <!--- Start DS -->
                <call function="'StartDsWithScript'">
                 { 'location'  : STAF_REMOTE_HOSTNAME }
                </call>
                <call function="'checkRC'">
                  { 'returncode' : RC , 'result' : STAXResult }
                </call>
              </sequence>
              <!--- End Block DS Process Active -->
            </block>
            <block name="'Block Clients'">
              <sequence>
                <!--- Check that DS started -->
                <call function="'isAlive'">
                  { 'noOfLoops' : 5 , 'noOfMilliSeconds' : 2000 }
                </call>
                <import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
                  file="'%s/testcases/schema/schema_setup.xml' % (TESTS_DIR)" />
                <call function="'schema_setup'" />
                <import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
                  file="'%s/testcases/schema/schema_rfc_tests.xml' % (TESTS_DIR)" />
                <call function="'schema_rfc_tests'" />
                <import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
                  file="'%s/testcases/schema/schema_dynamic.xml' % (TESTS_DIR)" />
                <call function="'schema-dynamic'" />
                <!--- Stop DS -->
                <sequence>
                  <message>
                    'Stop DS running on port %s' % (DIRECTORY_INSTANCE_PORT)
                  </message>
                  <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>
                </sequence>
              </sequence>
              <!--- End Block Clients -->
            </block>
          </parallel>
          <!--- Start DS -->
          <message>
            'Start DS to run on port %s' % DIRECTORY_INSTANCE_PORT
          </message>
          <!--- Start DS -->
          <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>
          <!-- Call the test suites -->
          <import machine="'%s' % STAF_LOCAL_HOSTNAME"
            file="'%s/testcases/schema/schema_setup.xml' % TESTS_DIR" />
          <call function="'schema_setup'" />
          <import machine="'%s' % STAF_LOCAL_HOSTNAME"
            file="'%s/testcases/schema/schema_rfc_tests.xml' % TESTS_DIR" />
          <call function="'schema_rfc_tests'" />
          
          <import machine="'%s' % STAF_LOCAL_HOSTNAME"
            file="'%s/testcases/schema/schema_dynamic.xml' % TESTS_DIR" />
          <call function="'schema-dynamic'" />
          <!--- Stop DS -->
          <message>
            'Stop DS running on port %s' % DIRECTORY_INSTANCE_PORT
          </message>
          <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>
          <call function="'testGroup_Postamble'"/>
        </sequence>