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

Some tests in TestBucketWriter are flaky

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.8.0
    • Component/s: Sinks+Sources
    • Labels:
      None

      Description

      testFileSuffixNotGiven (and probably a few other tests) are flaky

        Issue Links

          Activity

          Hide
          hudson Hudson added a comment -

          UNSTABLE: Integrated in Jenkins build Flume-trunk-hbase-1 #220 (See https://builds.apache.org/job/Flume-trunk-hbase-1/220/)
          FLUME-3002. Fix tests in TestBucketWriter (bessbd: http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=2399329ee2ca2d9fc4ec0ec8fc5d16fb213795b2)

          • (edit) flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestBucketWriter.java
          • (edit) flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/BucketWriter.java
          Show
          hudson Hudson added a comment - UNSTABLE: Integrated in Jenkins build Flume-trunk-hbase-1 #220 (See https://builds.apache.org/job/Flume-trunk-hbase-1/220/ ) FLUME-3002 . Fix tests in TestBucketWriter (bessbd: http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=2399329ee2ca2d9fc4ec0ec8fc5d16fb213795b2 ) (edit) flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestBucketWriter.java (edit) flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/BucketWriter.java
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 2399329ee2ca2d9fc4ec0ec8fc5d16fb213795b2 in flume's branch refs/heads/trunk from Bessenyei Balázs Donát
          [ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=2399329 ]

          FLUME-3002. Fix tests in TestBucketWriter

          Some tests are flaky in TestBucketWriter.

          This commit fixes the flakiness mentioned before by
          adding a new constructor with an extra Clock parameter.

          Reviewers: Attila Simon, Denes Arvay

          Show
          jira-bot ASF subversion and git services added a comment - Commit 2399329ee2ca2d9fc4ec0ec8fc5d16fb213795b2 in flume's branch refs/heads/trunk from Bessenyei Balázs Donát [ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=2399329 ] FLUME-3002 . Fix tests in TestBucketWriter Some tests are flaky in TestBucketWriter. This commit fixes the flakiness mentioned before by adding a new constructor with an extra Clock parameter. Reviewers: Attila Simon, Denes Arvay
          Hide
          bessbd Bessenyei Balázs Donát added a comment -

          I'm about to commit this.

          Show
          bessbd Bessenyei Balázs Donát added a comment - I'm about to commit this.

            People

            • Assignee:
              bessbd Bessenyei Balázs Donát
              Reporter:
              bessbd Bessenyei Balázs Donát
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development