int total2=0;
for(Integer i : todone)
total2+=i.intValue();
if((total != total2)||(todone.size()!=numObjects))
fail("FAIL, "+total+"!="+total2+", returned="+todone.size());
executor.shutdown();
System.out.println("Executor smoke test: PASS");
}
@Test
public void requestStatsTester()