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

Add test-lock-factory to Gradle build

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 8.x, 9.0
    • core/store
    • None
    • 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

              uschindler Uwe Schindler
              uschindler Uwe Schindler
              Votes:
              0 Vote for this issue
              Watchers:
              3 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