GitHub user arjansh opened a pull request:

    https://github.com/apache/metamodel/pull/198

    Elasticsearch native build failure

    Running unit test in `MetaModel-elasticsearch-native` module in reverse 
alphabetical order to make sure that the `ElasticSearchDataContextTest` unit 
test class is executed last, because it will fail the build if it is executed 
before other unit tests in the module. 
    
    This is caused by a mismatch between the Apache maven surefire-plugin and 
the `org.elasticsearch.test.ESSingleNodeTestCase` class provided by the 
Elasticsearch test framework, which seems to set a custom SecurityManager on 
the JVM when it runs.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/arjansh/metamodel 
METAMODEL-1206-elasticsearch-native-build-failure

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/metamodel/pull/198.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #198
    
----
commit 7dbf223ba1c48cd31b86af8797259cedcb5fe91a
Author: Arjan Seijkens <a.seijkens@...>
Date:   2018-11-28T15:14:10Z

    Configured maven-surefire-plugin so it runs the unit test in a consistent 
order to consistently reproduce METAMODEL-1206.

commit c1c2ea963fb7e2df6909c9c468fa4458998aaf41
Author: Arjan Seijkens <a.seijkens@...>
Date:   2018-11-28T15:25:07Z

    Reversed order in which the maven surefire plugin executes the unit tests, 
which in this case ensures the ElasticSearchDataContextTest unit test class is 
executed last and the build no longer fails.

----


---

Reply via email to