Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-2997

Fix flaky junit test in SpillableMemoryChannel

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.0
    • Fix Version/s: 1.8.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

        1. FLUME-2997.patch
          0.9 kB
          Attila Simon
        2. FLUME-2997-1.patch
          1 kB
          Attila Simon

          Activity

            People

            • Assignee:
              sati Attila Simon
              Reporter:
              sati Attila Simon
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: