public void testSimpleFileRoll() throws IOException, InterruptedException {
tempDir = Files.createTempDir();
statusDir = Files.createTempDir();
// set up spout
StreamParserFactory spf = new CountBlobStreamParserFactory();
File statusFile = new File(statusDir + "/status");
Pattern inPattern = Pattern.compile("x-.*");
TailSpout spout = new TailSpout(spf, statusFile, tempDir, inPattern);
spout.setReliableMode(true);