-
Notifications
You must be signed in to change notification settings - Fork 25.3k
Remove RolloverIndexTestHelper #32559
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
Remove RolloverIndexTestHelper #32559
Conversation
This removes the `RolloverIndexTestHelper` class in favor of making a couple of getters publically accessible as well as custom building a response object using JSON parsing. Relates to elastic#29823
Pinging @elastic/es-core-infra |
…-rollover-test-helper
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.
As with the update settings PR I'm not sure about having the response parsed from a JSON string, it feels ugly to me and IMO more ugly than having the RollloverIndexTestHelper class. I'm wondering if we can't just make the Response constructor public?
Here this is especially ugly to me as the response is not trivial and could well change in the future. If it does, instead of immediately getting compile errors to add the new/remove the old information in the constructor call we would only find out about the change when running tests
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
…-rollover-test-helper
…-rollover-test-helper
…-rollover-test-helper
* Remove RolloverIndexTestHelper This removes the `RolloverIndexTestHelper` class in favor of making a couple of getters publically accessible as well as custom building a response object using JSON parsing. Relates to #29823
This removes the
RolloverIndexTestHelper
class in favor of making a couple ofgetters publically accessible as well as custom building a response object using
JSON parsing.
Relates to #29823