HttpBuildCacheServiceErrorHandlingIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix JDK13 expected error message

    • -1
    • +1
    ./HttpBuildCacheServiceErrorHandlingIntegrationTest.groovy
Support more possible JDK13 error messages

    • -1
    • +1
    ./HttpBuildCacheServiceErrorHandlingIntegrationTest.groovy
Support more possible JDK13 error messages

    • -1
    • +1
    ./HttpBuildCacheServiceErrorHandlingIntegrationTest.groovy
Support more possible JDK13 error messages

    • -1
    • +1
    ./HttpBuildCacheServiceErrorHandlingIntegrationTest.groovy
Adjust expected error message for JDK13

    • -1
    • +1
    ./HttpBuildCacheServiceErrorHandlingIntegrationTest.groovy
Adjust expected error message for JDK13

    • -1
    • +1
    ./HttpBuildCacheServiceErrorHandlingIntegrationTest.groovy
Add integration tests for checking Gradle version in cache metadata

- in origin metadata

- in HTTP cache headers

    • -7
    • +2
    ./HttpBuildCacheServiceErrorHandlingIntegrationTest.groovy
  1. … 5 more files in changeset.
Fix tests

    • -2
    • +2
    ./HttpBuildCacheServiceErrorHandlingIntegrationTest.groovy
Don't retry failed build cache HTTP uploads (#4770)

The BuildCacheService SPI does not support implementations pulling on the provided input stream more than once.

    • -5
    • +3
    ./HttpBuildCacheServiceErrorHandlingIntegrationTest.groovy
  1. … 2 more files in changeset.
Allow enabling build cache in all integration tests

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

    • -2
    • +2
    ./HttpBuildCacheServiceErrorHandlingIntegrationTest.groovy
  1. … 27 more files in changeset.
Revert "Revert "Introduce HTTP timeout (#3041)""

This reverts commit 14711361a0cb6beb3a57766804c109ba6f3f87c0.

    • -0
    • +16
    ./HttpBuildCacheServiceErrorHandlingIntegrationTest.groovy
  1. … 12 more files in changeset.
Revert "Introduce HTTP timeout (#3041)"

This reverts commit 59153d58c906341cfe3b5bebbedf289e3def1e09.

    • -16
    • +0
    ./HttpBuildCacheServiceErrorHandlingIntegrationTest.groovy
  1. … 12 more files in changeset.
Introduce HTTP timeout (#3041)

Introduce HTTP connection and socket timeout

Fix https://github.com/gradle/gradle/issues/868

    • -0
    • +16
    ./HttpBuildCacheServiceErrorHandlingIntegrationTest.groovy
  1. … 12 more files in changeset.
Introduce HTTP connection and socket timeout

    • -0
    • +16
    ./HttpBuildCacheServiceErrorHandlingIntegrationTest.groovy
  1. … 17 more files in changeset.
Revert Http socket/connection timeouts for the release (#2879)

    • -16
    • +0
    ./HttpBuildCacheServiceErrorHandlingIntegrationTest.groovy
  1. … 18 more files in changeset.
Add test for http build cache timeout (#2782)

Fixing #868 via #2757 also introduces timeouts for connecting to an

HTTP build cache. We just add a test to verify this.

While writing the test I realized that we do not print the real cause

for failing with the HTTP backend when not printing the stack trace,

so I fixed that, too.

    • -2
    • +18
    ./HttpBuildCacheServiceErrorHandlingIntegrationTest.groovy
  1. … 3 more files in changeset.
Add task path to task output build cache key (#2668)

    • -1
    • +2
    ./HttpBuildCacheServiceErrorHandlingIntegrationTest.groovy
  1. … 18 more files in changeset.
Store artifacts from the remote cache in the local cache

When the default local directory build cache is used, we use an optimized

way to store the downloaded artifact in the cache. Using a custom local

cache, or with the local cache disabled, a temporary file will be used

to store the downloaded artifact.

Packing is also separated from uploading to the remote cache. Again,

when the default directory cache is used to store the cached artifact in

the local cache before uploading it to the remote cache. With a custom

local cache, or when a local cache is not enabled, task outputs will be

stored in a temporary file before uploading.

Build operations are emitted separately for packing, unpacking,

uploading and downloading the cache artifact.

    • -4
    • +4
    ./HttpBuildCacheServiceErrorHandlingIntegrationTest.groovy
  1. … 56 more files in changeset.
Rename test HTTP build cache server to HttpBuildCacheServer

+review REVIEW-6548

    • -3
    • +3
    ./HttpBuildCacheServiceErrorHandlingIntegrationTest.groovy
  1. … 7 more files in changeset.
Revert "Log name of task experiencing problems with (un)packing its results"

This reverts commit 85ca847d3bee7491cc3f27325d9981991547c786.

    • -1
    • +0
    ./HttpBuildCacheServiceErrorHandlingIntegrationTest.groovy
  1. … 1 more file in changeset.
Log name of task experiencing problems with (un)packing its results

Previously we logged the name of the offending property, but not the task name.

    • -0
    • +1
    ./HttpBuildCacheServiceErrorHandlingIntegrationTest.groovy
  1. … 1 more file in changeset.
Add even more error patterns when build cache shuts down.

+review REVIEW-6517

    • -2
    • +3
    ./HttpBuildCacheServiceErrorHandlingIntegrationTest.groovy
Make test more robust

The test has been flaky, since the message was changing depending on

- the error (Broken pipe/Connection reset)

- when the error happened: In the packer or in the HttpBuildCache

    • -2
    • +2
    ./HttpBuildCacheServiceErrorHandlingIntegrationTest.groovy
  1. … 1 more file in changeset.
Clean up cache integration tests

    • -1
    • +1
    ./HttpBuildCacheServiceErrorHandlingIntegrationTest.groovy
  1. … 5 more files in changeset.
Extract test fixture for HttpBuildCache

    • -25
    • +1
    ./HttpBuildCacheServiceErrorHandlingIntegrationTest.groovy
  1. … 21 more files in changeset.
Do not fail when storing to the cache fails

    • -0
    • +95
    ./HttpBuildCacheServiceErrorHandlingIntegrationTest.groovy
  1. … 10 more files in changeset.