Github user osma commented on the issue:

    https://github.com/apache/jena/pull/227
  
    @anujgandharv I tested it and got the same error.
    I found some hints in this issue report: 
https://github.com/elastic/elasticsearch/issues/22494
    The problem seems to be that the ES test framework is incompatible with the 
ES Maven plugin. So you cannot use both kinds of tests in the same project, at 
least not without some extra effort.
    
    What I did was
    - remove (actually rename) TestTextIndexES.java
    - remove the reference to TestTextIndexES.java from TS_Text.java
    - remove the dependency on `org.elasticsearch.test` as well as the 
following block dealing with junit and hamcrest from pom.xml
    
    After these I was able to run the integration test using `mvn clean verify`:
    ```
    -------------------------------------------------------
    Running org.apache.jena.query.text.it.TextIndexESIT
    ERROR StatusLogger No log4j2 configuration file found. Using default 
configuration: logging only errors to the console.
    Testing simple
    Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.841 sec - 
in org.apache.jena.query.text.it.TextIndexESIT
    
    Results :
    
    Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to