protected void setAbortFailure(final String source, final String msg) { setFailure(source, new ProcedureAbortedException(msg)); }
@Override protected Procedure[] execute(TestProcEnv env) throws InterruptedException { env.waitOnLatch(); LOG.debug("execute procedure " + this + " step=" + step); ProcedureTestingUtility.toggleKillBeforeStoreUpdate(procExecutor); step++; Threads.sleepWithoutInterrupt(procSleepInterval); if (isAborted()) { setFailure(new RemoteProcedureException(getClass().getName(), new ProcedureAbortedException( "got an abort at " + getClass().getName() + " step=" + step))); return null; } return null; }
protected void setAbortFailure(final String source, final String msg) { setFailure(source, new ProcedureAbortedException(msg)); }
protected void setAbortFailure(final String source, final String msg) { setFailure(source, new ProcedureAbortedException(msg)); }
protected void setAbortFailure(final String source, final String msg) { setFailure(source, new ProcedureAbortedException(msg)); }
@Override protected Procedure[] execute(TestProcEnv env) throws InterruptedException { env.waitOnLatch(); LOG.debug("execute procedure " + this + " step=" + step); ProcedureTestingUtility.toggleKillBeforeStoreUpdate(procExecutor); step++; Threads.sleepWithoutInterrupt(procSleepInterval); if (isAborted()) { setFailure(new RemoteProcedureException(getClass().getName(), new ProcedureAbortedException( "got an abort at " + getClass().getName() + " step=" + step))); return null; } return null; }
@Override protected Procedure[] execute(TestProcEnv env) throws InterruptedException { env.waitOnLatch(); LOG.debug("execute procedure " + this + " step=" + step); ProcedureTestingUtility.toggleKillBeforeStoreUpdate(procExecutor); step++; Threads.sleepWithoutInterrupt(procSleepInterval); if (isAborted()) { setFailure(new RemoteProcedureException(getClass().getName(), new ProcedureAbortedException( "got an abort at " + getClass().getName() + " step=" + step))); return null; } return null; }