Skip to content

Conversation

@alex-spies
Copy link
Contributor

@alex-spies alex-spies commented Feb 21, 2024

Currently, the EsqlSpecTestCase tries to upload the CSVs before each and every test run. If an index already exists, a test case will treat the upload as successful and just run.

This is bad if the upload fails, as most tests will fail and we get spammed with cryptic, unrelated error messages.

Avoid running an setup/upload method before each and every test case, instead perform a single setup method as a ClassRule.

Covers only the single-node and multi-node test suites, so far.

Copy link
Member

Choose a reason for hiding this comment

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

Can you extend the Cluster rule we already have? Or include it as a member or something?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks Nik, I planned to move some things around and clean that up - I'll try your suggestion as part of that!

@alex-spies alex-spies force-pushed the load-esql-csv-data-as-classrule branch from 7597710 to 1432c79 Compare March 5, 2024 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants