Context ctx = new ReportTestingContext();
EventSink es = FlumeBuilder.buildSink(ctx, snk);
// Big delay values so that test has to force different actions.
NaiveFileWALDeco<EventSink> wal = new NaiveFileWALDeco<EventSink>(ctx, es,
node.getWalManager(), new TimeTrigger(new ProcessTagger(), 100000),
node.getAckChecker().getAgentAckQueuer(), 1000);
wal.open();
// Phase I (20 message sent, 3 groups good, 1 group bad)
for (int i = 0; i < count; i++) {