Uploaded image for project: 'Flume (READ-ONLY)'
  1. Flume (READ-ONLY)
  2. FLUME-561

Allow using a file to exclude certain tests from build

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v0.9.4
    • Component/s: Build
    • Labels:
      None

      Description

      It would be nice to be able to exclude certain tests when running builds. For example, when a test is "known flaky", you may want to exclude it from the main Hudson job, but not actually disable it in the codebase (so that it still runs as part of another Hudson job, for example).

      By default all tests are run. However if a special command line parameter is added the specified file will be used to exclude certain tests:

      ant -Dtest.exclude.file=flakeytests

      The contents of flakeytests could be ant path regexes:

      **/TestDiskFailoverBehavior.java
      **/TestDiskFailover*.java
      

      Strikingly similar to https://issues.apache.org/jira/browse/HADOOP-7167

        Attachments

          Activity

            People

            • Assignee:
              jon Jonathan Hsieh
              Reporter:
              jon Jonathan Hsieh
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: