Lucene - Core
  1. Lucene - Core
  2. LUCENE-3784 Switching tests infrastructure to randomizedtesting.*
  3. LUCENE-3808

Switch LuceneTestCaseRunner to RandomizedRunner. Enforce Random sharing contracts. Enforce thread leaks.

    Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0-ALPHA
    • Component/s: general/test
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Dev. branch at: https://github.com/dweiss/lucene_solr/tree/rr

      Switch the runner to RandomizedRunner. Enforce the following:

      • Random sharing will result in a failure/ exception.
      • Add a validator for testXXX without @Test annotation. (custom test provider added).
      • Make sure tests are executed with assertions enabled (at least for solr/lucene packages).
      • Add a validator for static hook shadowing (no-no).
      • Modify custom execution groups in LTC to be real @Groups.

      Follow up from merging with trunk:

      • rename tests.threadspercpu into tests.jvms (Steve)
      • align to 80 cols terminals (Robert) - use simple class names and add truncation padding.
      • the output is emitted twice in case of suite-level errors.

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Dawid Weiss
              Reporter:
              Dawid Weiss
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development