incubator-flume-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "E. Sammer (Assigned) (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (FLUME-576) Properly reset FlumeBuilder SourceFactory after testing
Date Sat, 22 Oct 2011 21:20:32 GMT

     [ 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

        

Mime
View raw message