Update Gradle Testing Docs (#28970)

Attempting to run the REST tests, I noticed the testing instructions
  in the `TESTING.asciidoc` were outdated, so I fixed the paths.
  Steps I took to test:

  * Ran `./gradlew :distribution:packages:rpm:assemble` and make sure
  RPM is created in `./distribution/packages/rpm/build/distributions/`

  * Ran testing commands and verified the REST tests ran.
This commit is contained in:
Paul Sanwald 2018-03-09 11:54:59 -08:00 committed by GitHub
parent 4973887a10
commit 9f7cd14f15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -270,14 +270,14 @@ The REST tests are run automatically when executing the "./gradlew check" comman
REST tests use the following command:
---------------------------------------------------------------------------
./gradlew :distribution:integ-test-zip:integTest \
./gradlew :distribution:archives:integ-test-zip:integTest \
-Dtests.class="org.elasticsearch.test.rest.*Yaml*IT"
---------------------------------------------------------------------------
A specific test case can be run with
---------------------------------------------------------------------------
./gradlew :distribution:integ-test-zip:integTest \
./gradlew :distribution:archives:integ-test-zip:integTest \
-Dtests.class="org.elasticsearch.test.rest.*Yaml*IT" \
-Dtests.method="test {p0=cat.shards/10_basic/Help}"
---------------------------------------------------------------------------
@ -407,7 +407,7 @@ destructive. When working with a single package it's generally faster to run its
tests in a tighter loop than Gradle provides. In one window:
--------------------------------
./gradlew :distribution:rpm:assemble
./gradlew :distribution:packages:rpm:assemble
--------------------------------
and in another window: