fw.append("Line " + i + "\n");
fw.flush();
}
fw.close();
final CompositeSink snk = new CompositeSink(new ReportTestingContext(),
"{ delay(50) => counter(\"count\") }");
// Test start from end.
final TailSource src = (TailSource) TailSource.builder().build(
f.getAbsolutePath(), "true");
final CountDownLatch done = new CountDownLatch(1);