[DOCS] Change "p0" to "yaml" in example command (#78716)

Relates to https://github.com/elastic/elasticsearch/issues/78631

Co-authored-by: Nilanshu Vithal Rajmane <nil.rajmane@gmail.com>
This commit is contained in:
Nilanshu V Rajmane 2021-10-06 02:56:15 +05:30 committed by GitHub
parent e5af31678f
commit abe0c06afd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -324,7 +324,7 @@ A specific test case can be run with the following command:
---------------------------------------------------------------------------
./gradlew ':rest-api-spec:yamlRestTest' \
--tests "org.elasticsearch.test.rest.ClientYamlTestSuiteIT" \
-Dtests.method="test {p0=cat.segments/10_basic/Help}"
-Dtests.method="test {yaml=cat.segments/10_basic/Help}"
---------------------------------------------------------------------------
The YAML REST tests support all the options provided by the randomized runner, plus the following: