You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "E. Sammer (Assigned) (JIRA)" <ji...@apache.org> on 2011/10/22 23:20:32 UTC

[jira] [Assigned] (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 ]

E. Sammer reassigned FLUME-576:
-------------------------------

    Assignee:     (was: E. Sammer)

Removing myself from this. Not going to have time to focus on it.
                
> 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