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

Fix flaky junit test in SpillableMemoryChannel

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.7.0
    • 1.8.0
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: