OpenSearch/plugins
Ryan Ernst 175bda64a0 Build: Rework integ test setup and shutdown to ensure stop runs when desired (#23304)
Gradle's finalizedBy on tasks only ensures one task runs after another,
but not immediately after. This is problematic for our integration tests
since it allows multiple project's integ test clusters to be
simultaneously. While this has not been a problem thus far (gradle 2.13
happened to keep the finalizedBy tasks close enough that no clusters
were running in parallel), with gradle 3.3 the task graph generation has
changed, and numerous clusters may be running simultaneously, causing
memory pressure, and thus generally slower tests, or even failure if the
system has a limited amount of memory (eg in a vagrant host).

This commit reworks how integ tests are configured. It adds an
`integTestCluster` extension to gradle which is equivalent to the current
`integTest.cluster` and moves the rest test runner task to
`integTestRunner`.  The `integTest` task is then just a dummy task,
which depends on the cluster runner task, as well as the cluster stop
task. This means running `integTest` in one project will both run the
rest tests, and shut down the cluster, before running `integTest` in
another project.
2017-02-22 12:43:15 -08:00
..
analysis-icu Upgrade to lucene-6.5.0-snapshot-f919485. (#23087) 2017-02-10 15:08:47 +01:00
analysis-kuromoji Upgrade to lucene-6.5.0-snapshot-f919485. (#23087) 2017-02-10 15:08:47 +01:00
analysis-phonetic Upgrade to lucene-6.5.0-snapshot-f919485. (#23087) 2017-02-10 15:08:47 +01:00
analysis-smartcn Upgrade to lucene-6.5.0-snapshot-f919485. (#23087) 2017-02-10 15:08:47 +01:00
analysis-stempel Upgrade to lucene-6.5.0-snapshot-f919485. (#23087) 2017-02-10 15:08:47 +01:00
analysis-ukrainian Upgrade to lucene-6.5.0-snapshot-f919485. (#23087) 2017-02-10 15:08:47 +01:00
discovery-azure-classic Remove connect SocketPermissions from core (#22797) 2017-02-03 09:39:56 -06:00
discovery-ec2 Add methods requiring connect to forbidden apis (#22964) 2017-02-07 14:41:50 -06:00
discovery-file Build: Rework integ test setup and shutdown to ensure stop runs when desired (#23304) 2017-02-22 12:43:15 -08:00
discovery-gce Add FileSystemUtil method to read 'file:/' URLs (#23020) 2017-02-07 10:24:22 -06:00
ingest-attachment Remove POTM file after merging with master branch 2017-02-03 16:20:15 +01:00
ingest-geoip Upgrade checkstyle to version 7.5 2017-02-03 09:46:44 -05:00
ingest-user-agent Build: Rework integ test setup and shutdown to ensure stop runs when desired (#23304) 2017-02-22 12:43:15 -08:00
jvm-example Build: Rework integ test setup and shutdown to ensure stop runs when desired (#23304) 2017-02-22 12:43:15 -08:00
mapper-murmur3 Remove much ceremony from parsing client yaml test suites (#22311) 2016-12-22 11:00:34 -05:00
mapper-size Optionally require a valid content type for all rest requests with content (#22691) 2017-02-02 14:07:13 -05:00
repository-azure Build: Rework integ test setup and shutdown to ensure stop runs when desired (#23304) 2017-02-22 12:43:15 -08:00
repository-gcs Remove connect SocketPermissions from core (#22797) 2017-02-03 09:39:56 -06:00
repository-hdfs Fold InternalSearchHits and friends into their interfaces (#23042) 2017-02-08 14:40:08 +01:00
repository-s3 Fix tests that check for deprecation message 2017-02-15 09:35:02 +01:00
store-smb Fold InternalSearchHits and friends into their interfaces (#23042) 2017-02-08 14:40:08 +01:00
build.gradle Plugins: Include license and notice files in zip (#23191) 2017-02-15 11:23:12 -08:00