* retry with interval.
* @throws Exception if failed
*/
@Test
public void execute_retry_interval() throws Exception {
ProcessProfile profile = profile(2, 1, Action.EXCEPTION, Action.EXCEPTION, Action.SUCCESS);
ProcessProvider provider = profile.createProvider();
long start = System.currentTimeMillis();
provider.execute(factory(), script());
long end = System.currentTimeMillis();