BlockingFileInputFormat format1 = new BlockingFileInputFormat(
triggerLatch1, waitingLatch, new Path("test"), 20, 5);
FileInputSplit[] splits = format1.createInputSplits(2);
BlockingFileInputFormat format2 = new BlockingFileInputFormat(
triggerLatch2, waitingLatch, new Path("test"), 20, 15);
final OneShotLatch tLatch = new OneShotLatch();
BlockingFileInputFormat format = new BlockingFileInputFormat(wLatch, tLatch, new Path("test"), 20, 5);
OneInputStreamOperatorTestHarness<TimestampedFileInputSplit, String> testHarness = getTestHarness(format, 1, 0);