-
Notifications
You must be signed in to change notification settings - Fork 24.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add qa module that tests reindex-from-remote against pre-5.0 versions of Elasticsearch #24561
Conversation
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 { |
There was a problem hiding this comment.
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.
There was a problem hiding this 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
In the interest to get 5.4.1 moving along I'll merge this now but I'd be happy to work on followups. |
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.
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.
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
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
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
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