distributionTesting.gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Make some more shit lazy

  1. … 5 more files in changeset.
Make a bunch of shit lazy

  1. … 14 more files in changeset.
Add org.gradle.integtest.native.toolChains to idea configuration

This is a rename from org.gradle.integtest.cpp.toolChains since this

is used by all native tool chains (not just C++)

  1. … 2 more files in changeset.
Convert `gradle/distributionTesting.gradle` to Kotlin

Signed-off-by: Rodrigo B. de Oliveira <rodrigo@gradle.com>

  1. … 2 more files in changeset.
Prepare `gradle/distributionTesting.gradle` for conversion to Kotlin

- Convert string delimiters to double-quotes

- Parenthesize function arguments

- Prefer local variable over `ext` when possible

- Use single `project(":")` block to configure root project

- Keep utility functions at the bottom of the script

- Identify and statically type the source of every property

Signed-off-by: Rodrigo B. de Oliveira <rodrigo@gradle.com>

Extract `KillLeakingJavaProcesses` task from `gradle/distributionTesting.gradle`

Signed-off-by: Rodrigo B. de Oliveira <rodrigo@gradle.com>

  1. … 1 more file in changeset.
Extract utility methods from `distributionTesting.gradle` to buildSrc Kotlin

Convert to Kotlin

- gradle/distributionTesting.gradle#pkill

- gradle/distributionTesting.gradle#forEachJavaProcess

- gradle/distributionTesting.gradle#removeOldVersionsFromDir

- gradle/distributionTesting.gradle#removeCachedScripts

- gradle/distributionTesting.gradle#removeDodgyCacheFiles

- gradle/distributionTesting.gradle#removeDaemonLogFiles

- gradle/distributionTesting.gradle#cleanUpCaches

- gradle/distributionTesting.gradle#cleanUpDaemons

Inline ext.distributionTestTasks

Signed-off-by: Rodrigo B. de Oliveira <rodrigo@gradle.com>

  1. … 6 more files in changeset.
Include kotlin-dsl script cache in integ test image script cache cleanup

Fix process cleanup for execs residing the build dir of a subproject

We sometimes execute Gradle processes (daemon or worker) for testing

from within the `build\integ test` directory of a subproject.

  1. … 2 more files in changeset.
Include worker process in kill pattern on Windows

  1. … 2 more files in changeset.
Improve leaking process kill pattern to match Play app

  1. … 2 more files in changeset.
Replace Typesafe references with Lightbend

  1. … 11 more files in changeset.
Replace Typesafe references with Lightbend

  1. … 11 more files in changeset.
Simplify code

Make repo mirror URLs configurable via environmental variable

Need to implicitly import org.gradle.util classes in script plugins

Avoid use of GFileUtils.

  1. … 4 more files in changeset.
On CI redirect google maven repo queries to local mirror for integration tests

  1. … 3 more files in changeset.
Do not override o.g.integtest.versions with default if it is already set

The value is also set in crossVersionTest.gradle

Do not override o.g.integtest.versions with default if it is already set

The value is also set in crossVersionTest.gradle

Always wait for a few seconds after processes have been killed

Change intTestImage distribution to only contain dependencies

This assembles a distribution that only contains the dependencies

required by the subproject under test. This way we stricter enforce

modularization and increase the cache hits for tests that run against

the distribution image.

  1. … 19 more files in changeset.
Change intTestImage distribution to only contain dependencies

This assembles a distribution that only contains the dependencies

required by the subproject under test. This way we stricter enforce

modularization and increase the cache hits for tests that run against

the distribution image.

  1. … 19 more files in changeset.
Wait for 5sec after killing rogue processes on Windows

Remove unnecessary and confusing "didWork" statements

Turn 'kill existing processes' back into a task

This extends commit 31f3f3f71ad32d877edce203ae13d59238fdebf2.

Make sure old Gradle processes are killed before any clean task runs

During cleanup: kill processes with main class in the default package

Malfunctioning tests may also keep java processes running that do not

have the main class in `org.gradle`, but declare no package at all.

For example:

- ToolingApiIntegrationTest.tooling API does not hold JVM open

On CI redirect typesafe maven queries to local repo for integration tests

  1. … 3 more files in changeset.
On CI redirect maven central queries to local repo for integration tests

  1. … 108 more files in changeset.
On CI redirect jcenter queries to local repo for integration tests

  1. … 51 more files in changeset.