internal

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove some wrong timing loggings (#3860)

* Remove some wrong timing loggings

The time which was captured for up-to-date checks is wrong, since it

did not include actual snapshotting any more.

The time captured how long it took to load/unpack from the cache now

would have included the time it took to snapshot the inputs, too.

These timings are much better captured by the corresponding build

operations, so we remove the log entries for now.

Signed-off-by: Stefan Wolf <wolf@gradle.com>

    • -2
    • +2
    ./changedetection/state/UpToDateIntegTest.groovy
  1. … 7 more files in changeset.
Added a `SetProperty<T>` type as a convenience for dealing with properties of `Set<T>`.

    • -7
    • +7
    ./provider/ListPropertyTaskIntegrationTest.groovy
  1. … 18 more files in changeset.
Don't use now deprecated getProperties() method

Signed-off-by: Lóránt Pintér <lorant@gradle.com>

    • -47
    • +67
    ./project/taskfactory/TaskPropertyNamingIntegrationTest.groovy
  1. … 6 more files in changeset.
Support rich task inputs (#3720)

@Nested inputs are now discovered based on the runtime type instead of the static type.

    • -1
    • +189
    ./project/taskfactory/TaskPropertyNamingIntegrationTest.groovy
  1. … 150 more files in changeset.
Attempt to fix https://github.com/gradle/gradle-private/issues/975

This PR adds a guard for PipedInputStream to make sure it's safe to

read after being closed.

    • -4
    • +8
    ./tasks/userinput/AbstractUserInputHandlerIntegrationTest.groovy
    • -82
    • +24
    ./tasks/userinput/DefaultBuildScanUserInputHandlerIntegrationTest.groovy
  1. … 3 more files in changeset.
Wait until currently executing jobs have been completed

    • -3
    • +0
    ./tasks/userinput/DefaultBuildScanUserInputHandlerIntegrationTest.groovy
  1. … 1 more file in changeset.
Leverage gradlePluginPortal() in tests

where the m2 URL was hardcoded

    • -1
    • +1
    ./tasks/SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 3 more files in changeset.
Ignore tests as they are still flaky

    • -2
    • +3
    ./tasks/userinput/DefaultBuildScanUserInputHandlerIntegrationTest.groovy
Wait until daemon becomes idle before closing standard input pipe (#3270)

    • -5
    • +5
    ./tasks/userinput/DefaultBuildScanUserInputHandlerIntegrationTest.groovy
Ignore flaky test for now

    • -0
    • +1
    ./tasks/userinput/DefaultBuildScanUserInputHandlerIntegrationTest.groovy
Ignore flaky test for now

    • -0
    • +2
    ./tasks/userinput/DefaultBuildScanUserInputHandlerIntegrationTest.groovy
Attempt at fixing flakiness

Also removes test case that was already covered in some other form.

    • -7
    • +2
    ./tasks/userinput/DefaultBuildScanUserInputHandlerIntegrationTest.groovy
Close standard input pipe only after build has finished (#3222)

    • -9
    • +14
    ./tasks/userinput/DefaultBuildScanUserInputHandlerIntegrationTest.groovy
  1. … 2 more files in changeset.
Use Spock import

    • -1
    • +1
    ./tasks/userinput/DefaultBuildScanUserInputHandlerIntegrationTest.groovy
Ignore flaky tests to unblock pipeline

    • -0
    • +3
    ./tasks/userinput/DefaultBuildScanUserInputHandlerIntegrationTest.groovy
Clean up ListProperty more

- Clarify JavaDoc for add(Provider)/addAll(Provider)

- Add helper method in DefaultListPropertyTest to assert expected state

- Add integration test for list property

    • -0
    • +125
    ./provider/ListPropertyTaskIntegrationTest.groovy
  1. … 3 more files in changeset.
Separate non-daemon and daemon tests to isolate flakiness

Also kills the daemon after use.

    • -8
    • +4
    ./tasks/userinput/AbstractUserInputHandlerIntegrationTest.groovy
    • -20
    • +71
    ./tasks/userinput/DefaultBuildScanUserInputHandlerIntegrationTest.groovy
  1. … 1 more file in changeset.
Replaced some usages of `PropertyState` with `Property`.

    • -1
    • +1
    ./model/DefaultObjectFactoryIntegrationTest.groovy
  1. … 6 more files in changeset.
Deprecated `PropertyState` interface, which is replaced by `Property`. Deprecated the `Project.property()`, `Script.property()` and `ProviderFactory.property()` methods, which are replaced by `ObjectFactory.property()`.

    • -2
    • +2
    ./model/DefaultObjectFactoryIntegrationTest.groovy
  1. … 19 more files in changeset.
Build scan plugin can be auto-applied with with artifact coordinates (#3131)

    • -15
    • +0
    ./tasks/userinput/AbstractUserInputHandlerIntegrationTest.groovy
  1. … 5 more files in changeset.
Moved `ObjectFactory` to the coreApi project so that it can reference core types. Moved the implementation to core.

    • -0
    • +103
    ./model/CustomPluginObjectFactoryIntegrationTest.groovy
    • -0
    • +205
    ./model/DefaultObjectFactoryIntegrationTest.groovy
  1. … 11 more files in changeset.
Flush user input

    • -0
    • +1
    ./tasks/userinput/AbstractUserInputHandlerIntegrationTest.groovy
Rename method again

    • -3
    • +4
    ./tasks/userinput/AbstractUserInputHandlerIntegrationTest.groovy
    • -4
    • +4
    ./tasks/userinput/DefaultBuildScanUserInputHandlerIntegrationTest.groovy
Merge branch 'release' into bm/flaky/pipe-closed

    • -42
    • +6
    ./tasks/userinput/DefaultBuildScanUserInputHandlerIntegrationTest.groovy
Add a couple of tests for overlapping output detection for local state

    • -18
    • +225
    ./changedetection/rules/OverlappingOutputsIntegrationTest.groovy
Use better INFO log for non-up-to-date tasks (#3111)

    • -0
    • +44
    ./changedetection/state/UpToDateIntegTest.groovy
  1. … 1 more file in changeset.
Don't ask for user input on non-interactive console (#3106)

    • -10
    • +4
    ./tasks/userinput/DefaultBuildScanUserInputHandlerIntegrationTest.groovy
  1. … 13 more files in changeset.
Kill process earlier to remove flakiness from test.

    • -2
    • +4
    ./changedetection/CorruptedTaskHistoryIntegrationTest.groovy
Detect changes between null output file and non-existent output file (#3079)

We need to distinguish between an optional output file property which

is `null` and a property which points to some non-existent files.

The easiest way to do so is to remove optional output properties which

are `null` completely.

We break some tests now that we distinguish the order in which the

output files are declared.

    • -3
    • +6
    ./project/taskfactory/TaskPropertyNamingIntegrationTest.groovy
    • -1
    • +1
    ./tasks/TaskCacheabilityReasonIntegrationTest.groovy
  1. … 8 more files in changeset.
Wrap into standard input with DisconnectableInputStream

    • -4
    • +3
    ./tasks/userinput/AbstractUserInputHandlerIntegrationTest.groovy
    • -4
    • +4
    ./tasks/userinput/DefaultBuildScanUserInputHandlerIntegrationTest.groovy
  1. … 1 more file in changeset.