@Test(expected = IllegalArgumentException.class)
public void testRollRollBork() throws IOException, FlumeSpecException, InterruptedException {
EventSink snk = new CompositeSink(new Context(),
"roll(10000) { roll(10000) { null } } ");
Event e = new EventImpl("foo".getBytes());
snk.open();
snk.append(e); // should bork.
}
@Test
public void testRollRollNoConflict() throws IOException, FlumeSpecException, InterruptedException {