Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-3784 Switching tests infrastructure to randomizedtesting.*
  3. LUCENE-3785

Replace ant macros for running concurrent tests with ant-junit4.

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • None
    • 4.0-ALPHA
    • general/build, general/test
    • None
    • New

    Description

      ant-junit4 is an ANT task for running tests in parallel (on slave JVMs). Its advantages over the current macros:

      • dynamic load balancing based on historical test runs and current execution (job-stealing),
      • jvm-crash resilience (I wrote tests that actually crash a slave jvms to make sure such an event is reported appropriately),
      • nicer console reporting (no need for syserrs on LuceneTestCase level).

      More documentation and info will follow as I roll out a patch.

      NOTE. The code for this issue is being developed at:
      https://github.com/dweiss/lucene_solr/tree/LUCENE-3785

      Attachments

        1. LUCENE-3785.patch
          1.35 MB
          Dawid Weiss
        2. line-per-test.txt
          143 kB
          Dawid Weiss
        3. lucene-tests.txt
          79 kB
          Dawid Weiss
        4. trunk2.txt
          11 kB
          Dawid Weiss
        5. trunk1.txt
          11 kB
          Dawid Weiss
        6. junit4-2.txt
          24 kB
          Dawid Weiss
        7. junit4-1.txt
          24 kB
          Dawid Weiss
        8. failure-cases.patch
          7 kB
          Dawid Weiss

        Issue Links

          Activity

            People

              dweiss Dawid Weiss
              dweiss Dawid Weiss
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: