Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-3175

speed up core tests

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.5, 4.0-ALPHA
    • None
    • None
    • New, Patch Available

    Description

      Our core tests have gotten slower and slower, if you don't have a really fast computer its probably frustrating.

      I think we should:
      1. still have random parameters, but make the 'obscene' settings like SimpleText rarer... we can always make them happen more on NIGHTLY
      2. tests that make a lot of documents can conditionalize on NIGHTLY so that they are still doing a reasonable test on ordinary runs e.g. numdocs = (NIGHTLY ? 10000 : 1000) * multiplier
      3. refactor some of the slow huge classes with lots of tests like TestIW/TestIR, at least pull out really slow methods like TestIR.testDiskFull into its own class. this gives better parallelization.

      Attachments

        1. test-core_core_2_duo_2-53GHZ.rtf
          41 kB
          Simon Willnauer
        2. LUCENE-3175.patch
          6 kB
          Simon Willnauer
        3. test-core_core_2_duo_2-53GHZ.rtf
          41 kB
          Simon Willnauer
        4. LUCENE-3175_2.patch
          27 kB
          Robert Muir
        5. LUCENE-3175.patch
          203 kB
          Robert Muir
        6. LUCENE-3175.patch
          120 kB
          Robert Muir

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: