Skip to content

Add qa module that tests reindex-from-remote against pre-5.0 versions of Elasticsearch#24561

Merged
nik9000 merged 7 commits intoelastic:masterfrom
nik9000:old_es_test_case
May 11, 2017
Merged

Add qa module that tests reindex-from-remote against pre-5.0 versions of Elasticsearch#24561
nik9000 merged 7 commits intoelastic:masterfrom
nik9000:old_es_test_case

Conversation

@nik9000
Copy link
Copy Markdown
Member

@nik9000 nik9000 commented May 9, 2017

Adds tests for reindex-from-remote for the latest 2.4, 1.7, and
0.90 releases. 2.4 and 1.7 are fairly popular versions but 0.90
is a point of pride.

This fixes any issues those tests revealed.

Closes #23828
Closes #24520

nik9000 added 6 commits May 8, 2017 19:04
Adds tests for reindex-from-remote for the latest 2.4, 1.7, and
0.90 releases. 2.4 and 1.7 are fairly popular versions but 0.90
is a point of pride.

This fixes any issues those tests revealed.

Closes elastic#23828
Closes elastic#24520
* required for versions of Elasticsearch before 5.0 because they do not support
* writing a "ports" file.
*/
public class OldElasticsearch {
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not super comfortable with the degree of paranoia this has to leaving processes behind but I'm not sure that we can get much better from ES because it won't kill itself when stdin is closed.

Copy link
Copy Markdown
Contributor

@javanna javanna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM maybe @rjernst could also have a look, especially at the gradle part

@nik9000
Copy link
Copy Markdown
Member Author

nik9000 commented May 11, 2017

LGTM maybe @rjernst could also have a look, especially at the gradle part

In the interest to get 5.4.1 moving along I'll merge this now but I'd be happy to work on followups.

@nik9000 nik9000 merged commit 8188569 into elastic:master May 11, 2017
nik9000 added a commit that referenced this pull request May 11, 2017
… of Elasticsearch (#24561)

Adds tests for reindex-from-remote for the latest 2.4, 1.7, and
0.90 releases. 2.4 and 1.7 are fairly popular versions but 0.90
is a point of pride.

This fixes any issues those tests revealed.

Closes #23828
Closes #24520
nik9000 added a commit that referenced this pull request May 11, 2017
nik9000 added a commit that referenced this pull request May 11, 2017
… of Elasticsearch (#24561)

Adds tests for reindex-from-remote for the latest 2.4, 1.7, and
0.90 releases. 2.4 and 1.7 are fairly popular versions but 0.90
is a point of pride.

This fixes any issues those tests revealed.

Closes #23828
Closes #24520
nik9000 added a commit that referenced this pull request May 11, 2017
nik9000 added a commit that referenced this pull request May 11, 2017
nik9000 added a commit that referenced this pull request May 11, 2017
I broke this in #24561 by adding additional randomization to the
generated time values. They used to not generate units smaller than
millis and that skipped testing many things. In this case ttl doesn't
support units smaller than millis so we have to rework the test.
nik9000 added a commit that referenced this pull request May 11, 2017
I broke this in #24561 by adding additional randomization to the
generated time values. They used to not generate units smaller than
millis and that skipped testing many things. In this case ttl doesn't
support units smaller than millis so we have to rework the test.
nik9000 added a commit that referenced this pull request May 11, 2017
Two of the versions of Elasticsearch we need to run for these tests
can't run in Java 9 so we skip the entire test if we are running in
java 9. For now. I'd like to reenable it to run against java 8 if
there is one available, but that can wait for another time.

Relates to #24561
nik9000 added a commit that referenced this pull request May 11, 2017
Two of the versions of Elasticsearch we need to run for these tests
can't run in Java 9 so we skip the entire test if we are running in
java 9. For now. I'd like to reenable it to run against java 8 if
there is one available, but that can wait for another time.

Relates to #24561
nik9000 added a commit that referenced this pull request May 11, 2017
Two of the versions of Elasticsearch we need to run for these tests
can't run in Java 9 so we skip the entire test if we are running in
java 9. For now. I'd like to reenable it to run against java 8 if
there is one available, but that can wait for another time.

Relates to #24561
@nik9000 nik9000 deleted the old_es_test_case branch June 7, 2017 14:52
@lcawl lcawl added :Distributed/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. and removed :Reindex API labels Feb 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>bug :Distributed/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. v5.4.1 v5.5.0 v6.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

_reindex in 5.4 fails against 1.7.6 Integration tests for reindex-from-remote from older versions

5 participants