// The "fail-once" data in the timer will be used by the bean to fail the
// transaction once, to make sure that it is automatically retried.
log.info("testStatelessSessionBeanSingleTimer(): Testing retry on timer.");
final HashMap info = new HashMap(1);
info.put(TimerSLSB.INFO_EXEC_FAIL_COUNT,new Integer(1));
handle = bean.startSingleTimer(SHORT_PERIOD,info);
Thread.sleep(5 * SHORT_PERIOD);
assertEquals("Timeout was expected to be called twice, once inititially, one once for the retry.",
2,bean.getTimeoutCount(handle));