copy clients on client hosts only if scheduler phase is enabled
| | |
| | | <call function="'mainPreamble'"> |
| | | { |
| | | 'instances' : instances, |
| | | 'scheduler' : scheduler |
| | | 'scheduler' : scheduler, |
| | | 'runScheduler' : runScheduler |
| | | } |
| | | </call> |
| | | |
| | |
| | | clients list |
| | | </function-arg-description> |
| | | </function-arg-def> |
| | | <function-arg-def name="runScheduler" type="required"> |
| | | </function-arg-def> |
| | | </function-map-args> |
| | | <sequence> |
| | | |
| | |
| | | } |
| | | </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, |
| | |
| | | <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> |
| | |
| | | } |
| | | </call> |
| | | </if> |
| | | </sequence> |
| | | </if> |
| | | |
| | | </sequence> |
| | | </if> |