Skip to content

Commit 01f6788

Browse files
pcsanwaldPaul Sanwald
authored andcommitted
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.
1 parent be8ae87 commit 01f6788

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

TESTING.asciidoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,14 +270,14 @@ The REST tests are run automatically when executing the "./gradlew check" comman
270270
REST tests use the following command:
271271

272272
---------------------------------------------------------------------------
273-
./gradlew :distribution:integ-test-zip:integTest \
273+
./gradlew :distribution:archives:integ-test-zip:integTest \
274274
-Dtests.class="org.elasticsearch.test.rest.*Yaml*IT"
275275
---------------------------------------------------------------------------
276276

277277
A specific test case can be run with
278278

279279
---------------------------------------------------------------------------
280-
./gradlew :distribution:integ-test-zip:integTest \
280+
./gradlew :distribution:archives:integ-test-zip:integTest \
281281
-Dtests.class="org.elasticsearch.test.rest.*Yaml*IT" \
282282
-Dtests.method="test {p0=cat.shards/10_basic/Help}"
283283
---------------------------------------------------------------------------
@@ -407,7 +407,7 @@ destructive. When working with a single package it's generally faster to run its
407407
tests in a tighter loop than Gradle provides. In one window:
408408

409409
--------------------------------
410-
./gradlew :distribution:rpm:assemble
410+
./gradlew :distribution:packages:rpm:assemble
411411
--------------------------------
412412

413413
and in another window:

0 commit comments

Comments
 (0)