You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Uwe Schindler (Jira)" <ji...@apache.org> on 2020/09/08 08:59:00 UTC

[jira] [Updated] (LUCENE-9512) Add test-lock-factory to Gradle build

     [ https://issues.apache.org/jira/browse/LUCENE-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Uwe Schindler updated LUCENE-9512:
----------------------------------
    Description: 
When porting to Gradle, the following task was missed to be ported to Gradle:
https://github.com/apache/lucene-solr/blob/branch_8x/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.

  was:
When porting to Gradle, the following task was midded to be ported to Gradle:
https://github.com/apache/lucene-solr/blob/branch_8x/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.


> Add test-lock-factory to Gradle build
> -------------------------------------
>
>                 Key: LUCENE-9512
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9512
>             Project: Lucene - Core
>          Issue Type: Task
>          Components: core/store
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>            Priority: Major
>
> When porting to Gradle, the following task was missed to be ported to Gradle:
> https://github.com/apache/lucene-solr/blob/branch_8x/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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org