* @throws Exception if failed
*/
@Test(expected = IOException.class)
public void execute_fail() throws Exception {
MockJobClient c1 = new MockJobClient("testing");
JobStatus fail = new JobStatus();
fail.setKind(COMPLETED);
fail.setExitCode(1);
c1.add(fail);
JobClientProfile profile = new JobClientProfile("testing", list(c1), 1000, 10);
QueueHadoopScriptHandler handler = create();
handler.doConfigure(profile);