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

andrug
31.10.2008 42cdb8ba804780fb986e408fa9ec727bf3cab059
copy clients on client hosts only if scheduler phase is enabled
2 files modified
12 ■■■■ changed files
opends/tests/system-tests/phases/main_run.xml 3 ●●●● patch | view | raw | blame | history
opends/tests/system-tests/phases/main_run_lib.xml 9 ●●●● patch | view | raw | blame | history
opends/tests/system-tests/phases/main_run.xml
@@ -202,7 +202,8 @@
      <call function="'mainPreamble'">
        {
          'instances' : instances,
          'scheduler' : scheduler
          'scheduler'    : scheduler,
          'runScheduler' : runScheduler
        }
      </call>
      
opends/tests/system-tests/phases/main_run_lib.xml
@@ -99,6 +99,8 @@
          clients list
        </function-arg-description>
      </function-arg-def>
      <function-arg-def name="runScheduler" type="required">
      </function-arg-def>
    </function-map-args>
    <sequence>
      
@@ -211,6 +213,8 @@
              }
              </call>
              <!-- Copy framework files needed to instance host -->
              <if expr="runScheduler == 'true'">
                <sequence>
              <call function="'createFolder'">
              { 'location'   : client.getHost(),
                'foldername' : '%s/clients' % LOCAL_TESTS_DIR,
@@ -233,7 +237,8 @@
              <call function="'isFile'">
              {
                'location' : STAXServiceMachine,
                'fileName' : '%s/scenario/%s/clients' % (TESTS_DIR,DIR_NAME),
                    'fileName' : '%s/scenario/%s/clients' % \
                                 (TESTS_DIR,DIR_NAME),
              }
              </call>
              <script>
@@ -251,6 +256,8 @@
                }
                </call>
              </if>
                </sequence>
              </if>
              
            </sequence>
          </if>