String rpt = "foo";
String snk = "{ ackChecker => [ console, counter(\"" + rpt + "\") ] }";
Context ctx = new ReportTestingContext();
EventSink es = FlumeBuilder.buildSink(ctx, snk);
NaiveFileWALDeco wal = new NaiveFileWALDeco(ctx, es, node.getWalManager(),
new TimeTrigger(new ProcessTagger(), 100), node.getAckChecker()
.getAgentAckQueuer(), 10000);
// open and send data.
wal.open();
for (int i = 0; i < count; i++) {