BuildOperationProcessorIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Unify BuildOperationExecutor and BuildOperationProcessor APIs

This introduces the following `BuildOperationExecutor`

interface (as outlined in gradle/gradle#1676):

void run(RunnableBuildOperation buildOperation);

<T> T call(CallableBuildOperation<T> buildOperation);

<O extends RunnableBuildOperation> void runAll(

Action<BuildOperationQueue<O>> schedulingAction);

<O extends BuildOperation> void runAll(

BuildOperationWorker<O> worker,

Action<BuildOperationQueue<O>> schedulingAction);

To accomplish this, the following changes were performed:

- Various representation of build operations have been merged into

1) BuildOperation (with sub-interfaces)

-> declare and describe a build operation

2) BuildOperationDescriptor (BuildOperationDescriptor.Builder)

-> describe a build operation

3) BuildOperationState

-> represents a running build operation, with run state, start time,

parent relationship information, and description

- The DefaultBuildOperationExecutor and DefaultBuildOperationProcessor

implementations have been merged in DefaultBuildOperationExecutor,

which is now build session scoped.

    • -70
    • +0
    ./BuildOperationProcessorIntegrationTest.groovy
  1. … 180 more files in changeset.
Removing unintentional sleep from integration test

+review REVIEW-5884

    • -1
    • +0
    ./BuildOperationProcessorIntegrationTest.groovy
Fix for issue with canceling running oprations

+review REVIEW-5884

    • -0
    • +1
    ./BuildOperationProcessorIntegrationTest.groovy
  1. … 1 more file in changeset.
Removing race condition from BuildOperationProcessor integration test

    • -5
    • +12
    ./BuildOperationProcessorIntegrationTest.groovy
Disabling test for now until it can be improved

    • -2
    • +2
    ./BuildOperationProcessorIntegrationTest.groovy
Disabling test for now until it can be improved

    • -0
    • +2
    ./BuildOperationProcessorIntegrationTest.groovy
More test coverage and better exception handling for parallel test report generation.

+review REVIEW-5884

    • -0
    • +61
    ./BuildOperationProcessorIntegrationTest.groovy
  1. … 2 more files in changeset.