RecoverFromBrokenResolutionIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Rename @FailsWithInstantExecution to @ToBeFixedForInstantExecution

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -7
    • +7
    ./RecoverFromBrokenResolutionIntegrationTest.groovy
  1. … 872 more files in changeset.
Annotate integ tests failing with instant execution in :dependencyManagement

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +7
    ./RecoverFromBrokenResolutionIntegrationTest.groovy
  1. … 93 more files in changeset.
Annotate integ tests failing with instant execution in :dependencyManagement

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +7
    ./RecoverFromBrokenResolutionIntegrationTest.groovy
  1. … 93 more files in changeset.
Annotate integ tests failing with instant execution in :dependencyManagement

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +7
    ./RecoverFromBrokenResolutionIntegrationTest.groovy
  1. … 93 more files in changeset.
Revert "Revert "Merge remote-tracking branch 'origin/sg/merges/pr-9419'""

This reverts commit 0625bc7420e55e87730673231af6ad45dd04f47a.

    • -5
    • +5
    ./RecoverFromBrokenResolutionIntegrationTest.groovy
  1. … 90 more files in changeset.
Revert "Revert "Merge remote-tracking branch 'origin/sg/merges/pr-9419'""

This reverts commit 0625bc7420e55e87730673231af6ad45dd04f47a.

    • -5
    • +5
    ./RecoverFromBrokenResolutionIntegrationTest.groovy
  1. … 90 more files in changeset.
Revert "Merge remote-tracking branch 'origin/sg/merges/pr-9419'"

This reverts commit 2f79026f5e127a8175e25844522237615b19ed52 because of a performance regression,

reversing changes made to 7f1e66079ce629ecde3e09e549e9796ab85761dc.

    • -5
    • +5
    ./RecoverFromBrokenResolutionIntegrationTest.groovy
  1. … 90 more files in changeset.
Allow http for 127.0.0.1

Signed-off-by: Jonathan Leitschuh <Jonathan.Leitschuh@gmail.com>

    • -5
    • +5
    ./RecoverFromBrokenResolutionIntegrationTest.groovy
  1. … 16 more files in changeset.
Replace 'Matchers' with 'CoreMatchers'

So we do not require 'org.hamcrest:hamcrest-library' as additional

dependency anymore. Which was only available for most of the tests

because it leaked onto the test compile classpath.

    • -3
    • +3
    ./RecoverFromBrokenResolutionIntegrationTest.groovy
  1. … 162 more files in changeset.
Use 'implementation' dependencies everywhere

    • -3
    • +3
    ./RecoverFromBrokenResolutionIntegrationTest.groovy
  1. … 286 more files in changeset.
Use 'implementation' dependencies everywhere

    • -3
    • +3
    ./RecoverFromBrokenResolutionIntegrationTest.groovy
  1. … 283 more files in changeset.
Use 'implementation' dependencies everywhere

    • -3
    • +3
    ./RecoverFromBrokenResolutionIntegrationTest.groovy
  1. … 286 more files in changeset.
Use 'implementation' dependencies everywhere

    • -3
    • +3
    ./RecoverFromBrokenResolutionIntegrationTest.groovy
  1. … 284 more files in changeset.
Use 'implementation' dependencies everywhere

    • -3
    • +3
    ./RecoverFromBrokenResolutionIntegrationTest.groovy
  1. … 285 more files in changeset.
Use 'implementation' dependencies everywhere

    • -3
    • +3
    ./RecoverFromBrokenResolutionIntegrationTest.groovy
  1. … 285 more files in changeset.
Finalize the value of any task `@Input` property whose getter returns a property instance, at the start of execution of the task.

This means that the property value will not change once the task has started execution, so that the same value is always used during fingerprinting, cache key calculation, validation, when queried by a task action, and so on.

This behaviour only applies to `@Input` properties in this commit. This was just a place to start. Other properties will be added in later commits.

Changes to the property are ignored once the value is finalized implicitly in this way and generate a deprecation warning instead of failing, as would happen after `finalizeValue()` is called. This allows a migration path for task types that can add a new property to represent some input and keep their existing lenient (but now deprecated) behaviour for an existing property backed by the new property. It might prove better to flip this around, let's see.

    • -21
    • +12
    ./RecoverFromBrokenResolutionIntegrationTest.groovy
  1. … 61 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
    ./RecoverFromBrokenResolutionIntegrationTest.groovy
  1. … 29 more files in changeset.
Some changes to `MavenModule` test fixtures to allow an artifact in a module to be defined using a path relative to the module directory, moved up some methods to more general interfaces, and some other tidy-ups.

    • -3
    • +2
    ./RecoverFromBrokenResolutionIntegrationTest.groovy
  1. … 13 more files in changeset.
Treat various kinds of dependency resolution failures in more consistent ways.

- When a non-lenient view is used as a task input, then propagate any failure to select a configuration in the dependency graph during task graph calculation, rather than suppressing these kinds of failures and propagating later when the files happen to be queried. This now happens consistently whether fluid dependencies are used or not. The only difference between these is how much of the graph is traversed at task graph calculation time.

- When a lenient view is used as a task input, suppress configuration selection failures during task graph calculation and instead present them in `ArtifactCollection.failures`. Do this consistently regardless of whether fluid dependencies are used or not. Previously this kind of failure was propagated during task graph calculation for lenient views.

Also changed the error message on resolution failure to include what kind of query was being performed at the time to trigger the failure.

From an implementation point of view, separated the handling of selection failures from the code that produces the legacy resolution result so that this handling can be reused when the legacy result is not required (such as, say, when calculating the task graph).

    • -6
    • +6
    ./RecoverFromBrokenResolutionIntegrationTest.groovy
  1. … 34 more files in changeset.
Add timeout to integration test

The test has been seen hanging on CI.

    • -0
    • +2
    ./RecoverFromBrokenResolutionIntegrationTest.groovy
Fix assertion in test

- assertion didn't match the error message

    • -4
    • +4
    ./RecoverFromBrokenResolutionIntegrationTest.groovy
Make HTTP test failure message handling a bit more robust

+review REVIEW-5736

    • -8
    • +6
    ./RecoverFromBrokenResolutionIntegrationTest.groovy
  1. … 3 more files in changeset.
Update HttpClient to 4.4.1

- This bumps httpclient to 4.4.1 and httpcore to 4.4.4

- Update ':docs' subproject to use same httpclient version to avoid duplicate libraries in IntelliJ

- Incorporated fix for GRADLE-3029 by synchronizing access to 'java.home' system property

- This commit also resolves GRADLE-3250 since SNI support was added in httpclient 4.3.2

+review REVIEW-5736

    • -4
    • +8
    ./RecoverFromBrokenResolutionIntegrationTest.groovy
  1. … 17 more files in changeset.
Revert "Update HttpClient to 4.4.1"

This reverts commit cbafb10057af801054f22f5ebd42853bc9e8817a.

    • -8
    • +4
    ./RecoverFromBrokenResolutionIntegrationTest.groovy
  1. … 17 more files in changeset.
Update HttpClient to 4.4.1

- This bumps httpclient to 4.4.1 and httpcore to 4.4.4

- Update ':docs' subproject to use same httpclient version to avoid duplicate libraries in IntelliJ

- Incorporated fix for GRADLE-3029 by synchronizing access to 'java.home' system property

- This commit also resolves GRADLE-3250 since SNI support was added in httpclient 4.3.2

+review REVIEW-5736

    • -4
    • +8
    ./RecoverFromBrokenResolutionIntegrationTest.groovy
  1. … 17 more files in changeset.
Renamed subprojects/core-impl to subprojects/dependency-management.

    • -0
    • +354
    ./RecoverFromBrokenResolutionIntegrationTest.groovy
  1. … 1384 more files in changeset.