How to simulate Task Retry for a HPC Soa based Service Tasks? RRS feed

  • Question

  • In my HPC SOA jobs based project I have to perform negative test cases where in if a Task fails, I have to confirm if the Job scheduler would retry the tasks. I believe the tasks are rerun as many times as set in the Job Scheduler Configuration  -> Error Handling section. I've tried taking the compute nodes offline while the job is being run, tried thowing exception from the WCF Service but I'm unable to simulate the scenario.

    Kindly suggest the ways to force Service Tasks retries.

    • Edited by Arch_Dev Monday, October 10, 2011 11:35 AM
    Monday, October 10, 2011 11:33 AM

All replies

  • One easy way might be calling Environment.Exit(-1) in the service code.

    Thursday, December 1, 2011 4:58 AM