-
Notifications
You must be signed in to change notification settings - Fork 25.3k
EQL: case sensitivity aware integration testing #58624
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
Conversation
(cherry picked from commit 28a3f55)
(cherry picked from commit 125f19d)
(cherry picked from commit bbc7215)
(cherry picked from commit 48d3b72)
(cherry picked from commit 254b5c3)
(cherry picked from commit 28d9a76)
(cherry picked from commit 545ab4a)
(cherry picked from commit b8d16d3)
(cherry picked from commit 0e742de)
Rewrite case sensitivity settings: NULL -> run both case sensitive and insensitive tests TRUE -> run case sensitive test only FALSE -> run case insensitive test only
…o case-sensitive-tests
Pinging @elastic/es-ql (:Query Languages/EQL) |
expected_event_ids = [67, 68, | ||
69, 70, | ||
72, 73, | ||
74, 75] |
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.
These are incorrectly formatted (as is the rest of the group under it) - the sequence has 4 items not 2 on a line.
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
…o case-sensitive-tests
…o case-sensitive-tests
* Add DataLoader * Rewrite case sensitivity settings: NULL -> run both case sensitive and insensitive tests TRUE -> run case sensitive test only FALSE -> run case insensitive test only * Rename test_queries_supported * Add more toml tests from the Python client Co-authored-by: Ross Wolf <[email protected]> (cherry picked from commit 34d3834)
* EQL: case sensitivity aware integration testing (#58624) * Add DataLoader * Rewrite case sensitivity settings: NULL -> run both case sensitive and insensitive tests TRUE -> run case sensitive test only FALSE -> run case insensitive test only * Rename test_queries_supported * Add more toml tests from the Python client Co-authored-by: Ross Wolf <[email protected]> (cherry picked from commit 34d3834)
This PR is a wrap up of #57323 and most of the code originates there.
Part of #57313
Closes #56754
Pulled over the latest TOML integration tests from Python, which have case (in)sensitive toggles.
There's a handful more tests added, and I noticed that some of the sequence tests are failing, so I left those in the exclusions list. Also updated the HLRC to include case sensitive toggles, which was needed for the tests.
Basically to mark a test as case-sensitive only, add this to the TOML
or this to make a test case-insensitive only.
If the flags aren't set, then the test is assumed to work with both and tests are run both with case_sensitive=true and case_sensitive=false.