Introduce javaRestTest source set/task and convert modules (#59939)

Introduce a javaRestTest source set and task to compliment the yamlRestTest.
javaRestTest differs such that the code is sourced from Java and may have
different dependencies and setup requirements for the test clusters. This also
allows the tests to run in parallel in different cluster instances to prevent any
cross test contamination between the two types of tests.

Included in this PR is all :modules no longer use the integTest task. The tests
are now driven by test, yamlRestTest, javaRestTest, and internalClusterTest.
Since only :modules (and :rest-api-spec) have been converted to yamlRestTest
we can now disable the integTest task if either yamlRestTest or javaRestTest have
been applied. Once all projects are converted, we can delete the integTest task.

related: #56841
related: #59444
This commit is contained in:
Jake Landis 2020-07-21 17:17:17 -05:00 committed by GitHub
parent ad3a3f07d4
commit 7dd57c9415
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
48 changed files with 260 additions and 103 deletions

View file

@ -33,4 +33,3 @@ testClusters.all {
extraConfigFile 'ingest-user-agent/test-regexes.yml', file('src/test/test-regexes.yml')
}
integTest.enabled = false