Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-7582

Unit test execution mode that randomizes test order

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • test
    • None

    Description

      I've also come around to agreeing with Jon Hsieh that we should have a test mode that somehow randomizes test order to catch issues where unit test cases are written with the assumption of a certain order. It should not be on by default but can be enabled when evaluating patches for commit that include new tests.

      Case in point is HBASE-7581, which seems to be due to a new test added in HBASE-5498. The patch on HBASE-5498 tested out all green in local tests prior to commit.

      Attachments

        Activity

          People

            Unassigned Unassigned
            apurtell Andrew Kyle Purtell
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: