Add yaml test debugging tip (#99341)

This commit is contained in:
Pooya Salehi 2023-09-08 11:03:33 +02:00 committed by GitHub
parent 61228b888e
commit 216ef17198
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -453,6 +453,11 @@ You can run a group of YAML test by using wildcards:
--tests "org.elasticsearch.test.rest.ClientYamlTestSuiteIT.test {yaml=index/*/*}" --tests "org.elasticsearch.test.rest.ClientYamlTestSuiteIT.test {yaml=index/*/*}"
--------------------------------------------------------------------------- ---------------------------------------------------------------------------
Note that if the selected test via the `--tests` filter is not a valid test, i.e., the YAML test
runner is not able to parse and load it, you might get an error message indicating that the test
was not found. In such cases, running the whole suite without using the `--tests` could show more
specific error messages about why the test runner is not able to parse or load a certain test.
The YAML REST tests support all the options provided by the randomized runner, plus the following: The YAML REST tests support all the options provided by the randomized runner, plus the following:
* `tests.rest.blacklist`: comma separated globs that identify tests that are * `tests.rest.blacklist`: comma separated globs that identify tests that are