Assert.assertEquals(0, mgr.inMemoryMergedMapOutputs.size());
Assert.assertEquals(0, mgr.onDiskMapOutputs.size());
}
private void fillOutput(MapOutput<Text, Text> output) throws IOException {
BoundedByteArrayOutputStream stream = output.getArrayStream();
int count = stream.getLimit();
for (int i=0; i < count; ++i) {
stream.write(i);
}
}