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

DatasetSink test fails unexpectedly

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.5.0
    • Component/s: Sinks+Sources
    • Labels:
      None

      Description

      One of the tests in the new DatasetSink can fail unexpectedly. It tests that the background process rolls the backing files correctly, waiting until the roller should have run and then reading the file. The part that fails is just after the initial call to process(), the test asserts that the records are not yet available. If for some reason the background thread has run and rolled the file, it will fail although everything works correctly.

      This was introduced when the rolling was changed to be proactive. Lazy rolling prevented a race.

        Attachments

          Activity

            People

            • Assignee:
              rdblue Ryan Blue
              Reporter:
              rdblue Ryan Blue
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: