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

Add test-lock-factory to Gradle build

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.x, main (9.0)
    • Component/s: core/store
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      When porting to Gradle, the following task was missed to be ported to Gradle:
      https://github.com/apache/lucene-solr/blob/92139985c3eeb80adb8af345e61a3090d30430a5/lucene/core/build.xml#L148-L234

      This is somehow an integration test. It's not part of the test suite, as the code is part of main distribution and is a client-server implementation that has one coordinator to handle other JVMs to hammer a directories' lock factory.

      It may be included into the test suite, but as it spawns multiple JVMs (thats essential for it to work), I see this as a separate thing.

      I would like to implement that snippet of ANT code in Gradle and attach it to :lucene:core's test task. If we have an integration test framework at some point we can make a real integTest out of it, but for now a simple Groovy script is fine.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                uschindler Uwe Schindler
                Reporter:
                uschindler Uwe Schindler
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 6h
                  6h