HttpBuildCacheServiceTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Force AbstractTestDirectoryProvider to use Class (#12431)

Closes https://github.com/gradle/gradle-private/issues/2988

This PR adds `className` to `AbstractTestDirectoryProvider` so there'll be no more `unknown-test-class`.

  1. … 407 more files in changeset.
Fix tests

  1. … 372 more files in changeset.
Remove unused import

Fix changed constructor signature in groovy test

Update deprecation message expectations in insecure uri tests

  1. … 2 more files in changeset.
Fix failing tests from insecure HTTP deprecation changes

  1. … 15 more files in changeset.
Fixup! tests

  1. … 1 more file in changeset.
fixup! fix build cache tests

  1. … 1 more file in changeset.
HTTP build cache receives Gradle version in a pluggable way

  1. … 5 more files in changeset.
HTTP build cache receives Gradle version in a pluggable way

  1. … 5 more files in changeset.
Fix tests

  1. … 11 more files in changeset.
Fix tests

  1. … 2 more files in changeset.
Improve failure message for build cache redirect (#3636)

  1. … 1 more file in changeset.
Build cache should not follow HTTP redirects (#3517)

  1. … 9 more files in changeset.
Add task path to task output build cache key (#2668)

  1. … 18 more files in changeset.
Set content length when uploading HTTP build cache entry

    • -17
    • +29
    ./HttpBuildCacheServiceTest.groovy
  1. … 5 more files in changeset.
Refactor org.gradle.logging.level property tests (#1964)

* Split out logging tests

* Clean up tests, ignore failing test

* Code review changes

  1. … 10 more files in changeset.
Inline the describer type into BuildCacheServiceFactory.

  1. … 12 more files in changeset.
Wrap the actual finalisation of the build cache config in an operation.

  1. … 13 more files in changeset.
Propagate BuildCacheServiceFactory API changes.

  1. … 4 more files in changeset.
Add redirect integration test for http build cache connector

+review REVIEW-6491

Keep isValid() internal for build cache keys for now

There is no need to add this to the public API at this point.

+review REVIEW-6471

  1. … 2 more files in changeset.
Use DefaultHttpBuildCacheServiceFactory to create a build cache in test

+review REVIEW-6478

  1. … 1 more file in changeset.
Enable preemptive authentication for build cache

+review REVIEW-6479

  1. … 2 more files in changeset.
Add authentication support to HttpServerFixture

This allows to enable authentication on the BuildCache for

integration tests.

+review REVIEW-6479

  1. … 14 more files in changeset.
Add test for build cache preemptive authentication

+review REVIEW-6479

Use the same HttpClient configuration for the HTTP build cache

+review REVIEW-6478

  1. … 9 more files in changeset.
Rework description use

+review REVIEW-6464

  1. … 9 more files in changeset.
Use BuildCacheServiceFactory to instantiate BuildCacheService

This restores the BuildCacheServiceFactory and allows authors of build cache

implementations to create their instance as they need to.

This keeps some of the features of the previous change (direct creation of

BuildCacheService) by changing the register() to similar (requiring types

vs instances).

+review REVIEW-6448

  1. … 15 more files in changeset.
Add Accept headers to GET requests for the build cache service

+review REVIEW-6446

    • -18
    • +26
    ./HttpBuildCacheServiceTest.groovy
  1. … 1 more file in changeset.