sgoodman
12 years agoNew Contributor
Task errors
I have been unable to find any documentation on distributed testing concerning the handling of errors of a slave task.
I am currently configuring a job with several task to run on separate hosts. I run the job with the Jobobj.Run method and set WaitForCompletion parameter to true.
What I am observing is that if one of the tasks as a error, once it finishes its execution, the job will then halt any other running tasks.
Is this the correct expected behavior and if so, what's the best way to avoid a job halting tasks simply because one of them failed?
- Just curious, do you have "stop on error" checked in the Project | Playback settings for any of the involved projects? If so it could stop the slave or master.
Also, I've had to implement some script with exception handling as well to gobble up any errors that occur in the running slave projects.