GitHub user echauchot opened a pull request:

    https://github.com/apache/beam/pull/3860

    [BEAM-2957] Fix flaky ElasticsearchIOTest.testSplit in 
beam-sdks-java-io-elasticsearch-tests-5

    Follow this checklist to help us incorporate your contribution quickly and 
easily:
    
     - [X] Make sure there is a [JIRA 
issue](https://issues.apache.org/jira/projects/BEAM/issues/) filed for the 
change (usually before you start working on it).  Trivial changes like typos do 
not require a JIRA issue.  Your pull request should address just this issue, 
without pulling in other changes.
     - [X] Each commit in the pull request should have a meaningful subject 
line and body.
     - [X] Format the pull request title like `[BEAM-XXX] Fixes bug in 
ApproximateQuantiles`, where you replace `BEAM-XXX` with the appropriate JIRA 
issue.
     - [X] Write a pull request description that is detailed enough to 
understand what the pull request does, how, and why.
     - [X] Run `mvn clean verify` to make sure basic checks pass. A more 
thorough check will be performed on your pull request automatically.
     - [X] If this contribution is large, please file an Apache [Individual 
Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
    
    ---
    ES Slices are based on document id. For them to be deterministic (no empty 
slice), ids need to be always the same.
    Provide document id at insertion time rather than letting Elasticsearch 
generate one.
    Fix assert message in testSplit
    
    Unrelated:
    Update ES rest client from 5.0 to 5.4
    Remove unneeded jna version property

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

    $ git pull https://github.com/echauchot/beam ELASTICSEARCH5-flaky-testSplit

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

    https://github.com/apache/beam/pull/3860.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 #3860
    
----
commit 0bb0bb54f882264e5aa3aac026d18f460d1058ec
Author: Etienne Chauchot <[email protected]>
Date:   2017-09-15T13:36:18Z

    [BEAM-2957] Fix flaky ElasticsearchIOTest.testSplit in 
beam-sdks-java-io-elasticsearch-tests-5
    
    ES Slices are based on document id. For them to be deterministic (no empty 
slice), ids need to be always the same.
    Provide document id at insertion time rather than letting Elasticsearch 
generate one.
    Fix assert message in testSplit
    
    Unrelated:
    Update ES rest client from 5.0 to 5.4
    Remove unneeded jna version property

----


---

Reply via email to