}
@Test
public void testFailAppendSink() throws IOException, RuntimeException,
FlumeSpecException, InterruptedException {
SinkFactoryImpl snkfact = new SinkFactoryImpl();
snkfact.setSink("failAppend", new SinkBuilder() {
@Override
public EventSink build(Context context, String... argv) {
return new EventSink.Base() {
@Override
public void append(Event e) throws IOException {