DispatchingBuildCacheIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix DispatchingBuildCacheIntegrationTest

    • -8
    • +9
    ./DispatchingBuildCacheIntegrationTest.groovy
Deprecate specifying the type of the local cache

    • -1
    • +1
    ./DispatchingBuildCacheIntegrationTest.groovy
  1. … 10 more files in changeset.
Deprecate specifying the type of the local cache

    • -1
    • +1
    ./DispatchingBuildCacheIntegrationTest.groovy
  1. … 10 more files in changeset.
Change more tests.

    • -3
    • +3
    ./DispatchingBuildCacheIntegrationTest.groovy
  1. … 40 more files in changeset.
Changed a bunch of integration tests to use the various task assertion methods instead of directly querying the `executedTasks` and `skippedTasks` collections. These methods can give better diagnostics when the assertion fails, and can perform additional checks.

    • -3
    • +3
    ./DispatchingBuildCacheIntegrationTest.groovy
  1. … 98 more files in changeset.
Changed a bunch of integration tests to use the various task assertion methods instead of directly querying the `executedTasks` and `skippedTasks` collections. These methods can give better diagnostics when the assertion fails, and can perform additional checks.

    • -3
    • +3
    ./DispatchingBuildCacheIntegrationTest.groovy
  1. … 98 more files in changeset.
Changed a bunch of integration tests to use the various task assertion methods instead of directly querying the `executedTasks` and `skippedTasks` collections. These methods can give better diagnostics when the assertion fails, and can perform additional checks.

    • -3
    • +3
    ./DispatchingBuildCacheIntegrationTest.groovy
  1. … 98 more files in changeset.
Remove TestBuildCache.assertEmpty

Use `TestBuildCache.empty` instead.

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

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

    • -11
    • +10
    ./DispatchingBuildCacheIntegrationTest.groovy
  1. … 27 more files in changeset.
Clean up local cache fixture

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

    • -61
    • +26
    ./DispatchingBuildCacheIntegrationTest.groovy
  1. … 8 more files in changeset.
Extract test fixture for HttpBuildCache

    • -2
    • +2
    ./DispatchingBuildCacheIntegrationTest.groovy
  1. … 21 more files in changeset.
Allow any build cache as the local one

    • -3
    • +3
    ./DispatchingBuildCacheIntegrationTest.groovy
  1. … 9 more files in changeset.
Rename LocalBuildCache to DirectoryBuildCache

+review REVIEW-6464

    • -2
    • +2
    ./DispatchingBuildCacheIntegrationTest.groovy
  1. … 16 more files in changeset.
Use a temporary file to push to two caches

This is probably the easiest solution how to solve the problem to

push to two caches. Introducing some internal API on the LocalCache

to be able to write through proved difficult for our series of

decorators.

+review REVIEW-6455

    • -12
    • +0
    ./DispatchingBuildCacheIntegrationTest.groovy
  1. … 4 more files in changeset.
Fail build when pushing to two caches with pull disabled

+review REVIEW-6455

    • -6
    • +3
    ./DispatchingBuildCacheIntegrationTest.groovy
  1. … 2 more files in changeset.
Allow pushing to both local and remote caches

If we push to two caches we first push to the local cache and then

push the artifact stored in the local cache to the remote cache in

order to avoid doing additional work. This also simplifies error

handling.

+review REVIEW-6455

    • -3
    • +23
    ./DispatchingBuildCacheIntegrationTest.groovy
  1. … 4 more files in changeset.
Simplify DispatchingBuildCache

It does not pretend to be a regular build cache service any more - i

.e there is no ServiceFactory nor a BuildCache configuration for it.

BuildCacheServiceProvider is now responsible to create the

BuildCacheService for the build.

+review REVIEW-6450

    • -0
    • +239
    ./DispatchingBuildCacheIntegrationTest.groovy
  1. … 12 more files in changeset.