Skip to content

ESQL: Log profile on test error #131474

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ivancea
Copy link
Contributor

@ivancea ivancea commented Jul 17, 2025

Log the ESQL request profile when an error fail. To be implemented on:

  • CSV IT tests
  • YAML tests
  • Generative tests

@ivancea ivancea requested a review from nik9000 July 17, 2025 17:43
@ivancea ivancea added >test Issues or PRs that are addressing/adding tests Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) :Analytics/ES|QL AKA ESQL v9.2.0 labels Jul 17, 2025
EsqlResponse response = runEsqlSyncNoWarningsChecks(requestObject);
assertWarnings(response.response, assertWarnings);
return response.json;
}
Copy link
Member

Choose a reason for hiding this comment

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

What if you put the ProfileLogger as another argument here? It can be nullable for PR or two, but I think in all the callers we want to log on failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/ES|QL AKA ESQL Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) >test Issues or PRs that are addressing/adding tests v9.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants