Hi ,

I am trying to run a script on two machine.....the code snippet i use is :


   <paralleliterate var="testMach" in="machname" indexvar="i">
      <sequence>

    <process name="'Starting Quick Sanity Testing on machine %s.....' %
testMach">
              <location>testMach</location>
              <command mode="'shell'">'%s/%s ' % (tdir,rtstscript)
</command>
              <stdout>'%s/%s_%s' % (tdir,rname,testMach)</stdout>
          </process>
        <if expr="RC == 0">

  <message log="1">'Quick Sanity Success Run on %s !!!! - RC: %s, Result:
%s' % (testMach,RC,STAFResult)</message>
      </if>
     <if expr="RC != 0">

  <message log="1">'Failed to run Quick Sanity on %s !!!! - RC: %s, Result:
%s' % (testMach,RC, STAFResult)</message>

 </if>
     </sequence>
    </paralleliterate>


It runs fine in one machine (fast machine takes 15 minutes ), in the second
machine(slow machine ) it goes on running and does'nt returns.

I get log message for one machine as Quick Sanity Success on machine a . For
second machine i do not get any messages.

If i run the scripts independently on each machine they both run
successfully ...machine a takes 15 minutes ...machine b takes 25
minutes(machine b is a bit slow). But through staf and stax , the script
seems to run infinitely.


Kindly suggest how to run this successfully.

Regards
Sangram
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to