You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Alexander Lorenz-Alten (Reopened) (JIRA)" <ji...@apache.org> on 2012/03/07 19:48:59 UTC

[jira] [Reopened] (FLUME-576) Properly reset FlumeBuilder SourceFactory after testing

     [ https://issues.apache.org/jira/browse/FLUME-576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Lorenz-Alten reopened FLUME-576:
------------------------------------------

    
> Properly reset FlumeBuilder SourceFactory after testing
> -------------------------------------------------------
>
>                 Key: FLUME-576
>                 URL: https://issues.apache.org/jira/browse/FLUME-576
>             Project: Flume
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: v0.9.3
>            Reporter: E. Sammer
>             Fix For: v0.9.5
>
>
> In com.cloudera.flume.agent.TestFlumeNode#testRestartNextException():
> {code}
> FlumeBuilder.setSourceFactory(new SourceFactory() {
>   public EventSource getSource(Context ctx, String name, String... args) {
>     return new NextExnSource();
>   }
> }
> {code}
> This pollutes the JVM for all future tests leading to spurious errors in that it returns NextExnSource for *any* source that gets constructed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira