es.awaitTermination(1, TimeUnit.HOURS);
}
@Test(timeOut = 1000, invocationCount = 100)
private void testNonBlockingReduce() throws Exception {
final Reducer<Integer, Integer> reducer = new Reducer<Integer, Integer>(new ReduceSumTest(), new MultiThreadedErrorTracker(), 0);
final MapResultsQueue<Integer> mapResultsQueue = new MapResultsQueue<Integer>();
mapResultsQueue.put(new MapResult<Integer>(0, 0));
mapResultsQueue.put(new MapResult<Integer>(1, 1));
final CountDownLatch latch = new CountDownLatch(1);