You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Ashish Paliwal (JIRA)" <ji...@apache.org> on 2014/11/05 11:06:34 UTC

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

Ashish Paliwal resolved FLUME-576.
----------------------------------
    Resolution: Won't Fix

Won't fix. 0.X branch not maintained anymore

> 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 was sent by Atlassian JIRA
(v6.3.4#6332)