WorkerExecutorInjectionIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
More test coverage + fixes for tests.

    • -77
    • +0
    ./WorkerExecutorInjectionIntegrationTest.groovy
  1. … 4 more files in changeset.
Allow various Gradle services to be injected into artifact transform actions.

    • -77
    • +0
    ./WorkerExecutorInjectionIntegrationTest.groovy
  1. … 14 more files in changeset.
Allow various Gradle services to be injected into artifact transform actions.

    • -77
    • +0
    ./WorkerExecutorInjectionIntegrationTest.groovy
  1. … 14 more files in changeset.
Fixes.

    • -1
    • +1
    ./WorkerExecutorInjectionIntegrationTest.groovy
  1. … 24 more files in changeset.
Add `BuildServiceParameters.None` marker type that is used to indicate that a build service does not take any parameters, to match the pattern used in other places.

Extract some validation logic from several places so it can be reused in the places where parameterized isolated objects, such as artifact transforms or build services, are registered.

    • -1
    • +1
    ./WorkerExecutorInjectionIntegrationTest.groovy
  1. … 35 more files in changeset.
Add `BuildServiceParameters.None` marker type that is used to indicate that a build service does not take any parameters, to match the pattern used in other places.

Extract some validation logic from several places so it can be reused in the places where parameterized isolated objects, such as artifact transforms or build services, are registered.

    • -1
    • +1
    ./WorkerExecutorInjectionIntegrationTest.groovy
  1. … 35 more files in changeset.
Fix Worker API test tasks

    • -1
    • +1
    ./WorkerExecutorInjectionIntegrationTest.groovy
  1. … 5 more files in changeset.
Rename WorkerExecution to WorkAction, WorkerParameters to WorkParameters

    • -5
    • +5
    ./WorkerExecutorInjectionIntegrationTest.groovy
  1. … 36 more files in changeset.
Rename WorkerExecution to WorkAction, WorkerParameters to WorkParameters

    • -5
    • +5
    ./WorkerExecutorInjectionIntegrationTest.groovy
  1. … 34 more files in changeset.
Rename WorkerExecution to WorkAction, WorkerParameters to WorkParameters

    • -5
    • +5
    ./WorkerExecutorInjectionIntegrationTest.groovy
  1. … 37 more files in changeset.
Rename WorkerExecution to WorkAction, WorkerParameters to WorkParameters

    • -5
    • +5
    ./WorkerExecutorInjectionIntegrationTest.groovy
  1. … 36 more files in changeset.
Rename WorkerExecution to WorkAction, WorkerParameters to WorkParameters

    • -5
    • +5
    ./WorkerExecutorInjectionIntegrationTest.groovy
  1. … 37 more files in changeset.
Refactor worker api to support WorkQueue API

    • -3
    • +1
    ./WorkerExecutorInjectionIntegrationTest.groovy
  1. … 30 more files in changeset.
Refactor worker api to support WorkQueue API

    • -3
    • +1
    ./WorkerExecutorInjectionIntegrationTest.groovy
  1. … 30 more files in changeset.
Refactor worker api to support WorkQueue API

    • -3
    • +1
    ./WorkerExecutorInjectionIntegrationTest.groovy
  1. … 30 more files in changeset.
Update worker api test coverage to use typed parameter api

    • -8
    • +10
    ./WorkerExecutorInjectionIntegrationTest.groovy
  1. … 18 more files in changeset.
Update worker api test coverage to use typed parameter api

    • -8
    • +10
    ./WorkerExecutorInjectionIntegrationTest.groovy
  1. … 18 more files in changeset.
Update worker api test coverage to use typed parameter api

    • -8
    • +10
    ./WorkerExecutorInjectionIntegrationTest.groovy
  1. … 18 more files in changeset.
Update worker api test coverage to use typed parameter api

    • -8
    • +10
    ./WorkerExecutorInjectionIntegrationTest.groovy
  1. … 18 more files in changeset.
Update worker api test coverage to use typed parameter api

    • -8
    • +10
    ./WorkerExecutorInjectionIntegrationTest.groovy
  1. … 18 more files in changeset.
Provide a basic service registry for worker injection

This allows us to pull some of the service stuff out of the Zinc

compiler and use the services of the process rather than constructing

its own service hierarchy. This also positions us to provide

meaningful public services to workers in the future.

    • -2
    • +1
    ./WorkerExecutorInjectionIntegrationTest.groovy
  1. … 12 more files in changeset.
Provide a basic service registry for worker injection

This allows us to pull some of the service stuff out of the Zinc

compiler and use the services of the process rather than constructing

its own service hierarchy. This also positions us to provide

meaningful public services to workers in the future.

    • -2
    • +1
    ./WorkerExecutorInjectionIntegrationTest.groovy
  1. … 12 more files in changeset.
Provide a basic service registry for worker injection

This allows us to pull some of the service stuff out of the Zinc

compiler and use the services of the process rather than constructing

its own service hierarchy. This also positions us to provide

meaningful public services to workers in the future.

    • -2
    • +1
    ./WorkerExecutorInjectionIntegrationTest.groovy
  1. … 12 more files in changeset.
Add some validation of extension constructors, and tweak some error messages.

    • -1
    • +2
    ./WorkerExecutorInjectionIntegrationTest.groovy
  1. … 15 more files in changeset.
Set timeout for AbstractIntegrationSpec (#5806)

We have been bitten by CI build exection timeout for a long time.

This PR introduces timeout for AbstractIntegrationSpec in order to

monitor execution timeout. Upon timeout, a spock interceptor can

print all threads' stack traces in all JVMs so that we can diagnose

the potential issues in other JVMs (daemons, test workers, etc.).

    • -2
    • +2
    ./WorkerExecutorInjectionIntegrationTest.groovy
  1. … 29 more files in changeset.
Increase timeout to 120s

See https://github.com/gradle/gradle-private/issues/1283

Recently we observes some timeouts on EC2 agents, not sure what happened

but let's increase this value and see if it works.

    • -1
    • +1
    ./WorkerExecutorInjectionIntegrationTest.groovy
Use an empty Object[] const to call through from non-parameterized create() method (#4833)

Add `ServiceRegistry.find()` to query the existence of a service without throwing exceptions.

Update handling to disallow `null` constructor argument value sooner.

Add Javadoc describing behavior when receiving `null` constructor argument value.

Improve error messages when `DependencyInjectingInstantiator` fails to create an object.

    • -1
    • +1
    ./WorkerExecutorInjectionIntegrationTest.groovy
  1. … 11 more files in changeset.
Added timeouts to tests.

    • -0
    • +2
    ./WorkerExecutorInjectionIntegrationTest.groovy
  1. … 10 more files in changeset.
Clean up WorkerExecutor injection tests

    • -6
    • +3
    ./WorkerExecutorInjectionIntegrationTest.groovy
  1. … 1 more file in changeset.
Allow non-isolated workers to submit nested work

    • -0
    • +78
    ./WorkerExecutorInjectionIntegrationTest.groovy
  1. … 9 more files in changeset.