assertEquals(CommandResultHolder.CMD_TIMED_OUT_MSG, result);
assertTrue(after - now >= (cmdTimeout*999)); // at least timeout seconds
}
public void testGetCommandGeneratesNullMsgWhenPoisoned() throws Throwable {
TrackableRunnable internalGetter = new TrackableRunnable() {
@Override
public Object go() throws Throwable {
String result = holder.getResult();
log.debug(Thread.currentThread().getName() + " got result: " + result);
return result;