You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Attila Simon (JIRA)" <ji...@apache.org> on 2016/09/26 13:49:20 UTC

[jira] [Created] (FLUME-2997) Fix flaky junit test in SpillableMemoryChannel

Attila Simon created FLUME-2997:
-----------------------------------

             Summary: Fix flaky junit test in SpillableMemoryChannel
                 Key: FLUME-2997
                 URL: https://issues.apache.org/jira/browse/FLUME-2997
             Project: Flume
          Issue Type: Test
    Affects Versions: v1.7.0
            Reporter: Attila Simon
            Assignee: Attila Simon
             Fix For: v1.7.0


testParallelSingleSourceAndSink sometimes trigger an edge case scenario if sinks are slower than sources. In such situations the channel can get full thus uncaught ChannelFullException breaks the test. Since testCapacityWithOverflow was designed to cover such edge-case scenario already we can safely fix the test by increasing the channel capacity to make sure it won't get full.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)