@Test
public void testFailCloseSource() throws IOException, RuntimeException,
FlumeSpecException, InterruptedException {
SourceFactoryImpl srcfact = new SourceFactoryImpl();
srcfact.setSource("failClose", new SourceBuilder() {
@Override
public EventSource build(Context ctx, String... argv) {
return new EventSource.Base() {
@Override
public void close() throws IOException {