-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Make inline sort alias name a prefix match in testPushTopNInlineDistanceToSource #114984
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
Make inline sort alias name a prefix match in testPushTopNInlineDistanceToSource #114984
Conversation
|
Pinging @elastic/es-analytical-engine (Team:Analytics) |
This reduces flakiness of this test.
218f5cd to
afe7705
Compare
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, thanks Craig!
Making the test more lenient is correct because ReplaceOrderByExpresionWithEval creates this weird $$order_by$0$1 attribute name and the last number comes from a static counter that is never reset. So the exact number will depend on what tests were executed before this one.
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.
Please, add a comment regarding the startsWith choice. Thanks.
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, thanks!
…nceToSource (elastic#114984) * Make inline sort alias name a prefix match This reduces flakiness of this test. * Added comments on prefix check for variable name
…nceToSource (elastic#114984) * Make inline sort alias name a prefix match This reduces flakiness of this test. * Added comments on prefix check for variable name
…nceToSource (elastic#114984) * Make inline sort alias name a prefix match This reduces flakiness of this test. * Added comments on prefix check for variable name
…nceToSource (elastic#114984) * Make inline sort alias name a prefix match This reduces flakiness of this test. * Added comments on prefix check for variable name
This reduces flakiness of this test.