Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for withMaxHttpRetryCount (0.32 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenBrokenRemoteResolveIntegrationTest.groovy

            then:
            succeeds("showBroken")
        }
    
        @Unroll("recovers from initial failed POM download (max retries = #retries)")
        void "recovers from initial failed POM download"() {
            withMaxHttpRetryCount(retries)
    
            given:
            def module = mavenHttpRepo.module('group', 'projectA', '1.3').publish()
    
            buildFile << """
    repositories {
        maven {
            url "${ivyHttpRepo.uri}"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 12K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy

                if (!dir.exists()) {
                    return new GradleBackedArtifactBuilder(executer, dir)
                }
            }
        }
    
        AbstractIntegrationSpec withMaxHttpRetryCount(int count) {
            maxHttpRetries = count
            this
        }
    
        def jarWithClasses(Map<String, String> javaSourceFiles, TestFile jarFile) {
            def builder = artifactBuilder()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 32.9K bytes
    - Viewed (0)
Back to top