DefaultWorkerExecutorTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Force AbstractTestDirectoryProvider to use Class (#12431)

Closes https://github.com/gradle/gradle-private/issues/2988

This PR adds `className` to `AbstractTestDirectoryProvider` so there'll be no more `unknown-test-class`.

  1. … 407 more files in changeset.
Fix tests

  1. … 372 more files in changeset.
Fixes for previous commit.

  1. … 4 more files in changeset.
Remove some minor hot spots in scheduling and executing Worker API actions.

- Don't create JVM options for a legacy worker action until needed.

- Don't create the parameters of a legacy worker action more than once.

- Improve inference of an isolated object's parameter type.

Also restructure to decouple the different kinds of worker action specs, to allow the different specs to carry different information and also to make clearer what state a given stage of the execution pipeline expects the spec and its parameters to be in.

  1. … 36 more files in changeset.
Remove some minor hot spots in scheduling and executing Worker API actions.

- Don't create JVM options for a legacy worker action until needed.

- Don't create the parameters of a legacy worker action more than once.

- Improve inference of an isolated object's parameter type.

Also restructure to decouple the different kinds of worker action specs, to allow the different specs to carry different information and also to make clearer what state a given stage of the execution pipeline expects the spec and its parameters to be in.

  1. … 36 more files in changeset.
Align no isolation worker with isolated workers

  1. … 17 more files in changeset.
Make file operations in worker daemons relative to project directory

  1. … 20 more files in changeset.
Make file operations in worker daemons relative to project directory

  1. … 20 more files in changeset.
Make file operations in worker daemons relative to project directory

  1. … 20 more files in changeset.
Compiler daemons can access internal services

  1. … 19 more files in changeset.
Compiler daemons can access internal services

  1. … 19 more files in changeset.
Compiler daemons can access internal services

  1. … 19 more files in changeset.
Fix tests

  1. … 2 more files in changeset.
Use a non-decorated fork options when creating fork options for worker daemon

WorkerDaemonClients are retained across builds, so any object associated with

it must not contain project state since this will be kept around until the worker

expires.

- Introduce a newDecoratedJavaForkOptions which creates a decorated JavaForkOptionsInternal

- Replace calls to the decorated version of the method with non-decorated versions where appropriate

  1. … 14 more files in changeset.
Rename WorkerExecution to WorkAction, WorkerParameters to WorkParameters

  1. … 36 more files in changeset.
Rename WorkerExecution to WorkAction, WorkerParameters to WorkParameters

  1. … 34 more files in changeset.
Rename WorkerExecution to WorkAction, WorkerParameters to WorkParameters

  1. … 37 more files in changeset.
Rename WorkerExecution to WorkAction, WorkerParameters to WorkParameters

  1. … 36 more files in changeset.
Rename WorkerExecution to WorkAction, WorkerParameters to WorkParameters

  1. … 37 more files in changeset.
Refactor worker api to support WorkQueue API

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

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

    • -124
    • +21
    ./DefaultWorkerExecutorTest.groovy
  1. … 30 more files in changeset.
Fix test issues on windows

  1. … 2 more files in changeset.
Fix test issues on windows

  1. … 2 more files in changeset.
Fix test issues on windows

  1. … 2 more files in changeset.
Use a ConfigurableFileCollection for classpath in worker specs

  1. … 12 more files in changeset.
Use a ConfigurableFileCollection for classpath in worker specs

  1. … 12 more files in changeset.
Use a ConfigurableFileCollection for classpath in worker specs

  1. … 12 more files in changeset.
Use a ConfigurableFileCollection for classpath in worker specs

  1. … 12 more files in changeset.
Update worker api test coverage to use typed parameter api

  1. … 18 more files in changeset.