* Test to make sure we stop after a failed open on source
*/
@Test
public void testFailOpenSource() throws IOException, RuntimeException,
FlumeSpecException, InterruptedException {
SourceFactoryImpl srcfact = new SourceFactoryImpl();
srcfact.setSource("failOpen", new SourceBuilder() {
@Override
public EventSource build(Context ctx, String... argv) {
return new EventSource.Base() {
@Override
public void open() throws IOException {