Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,352 for Retries (0.14 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/ErrorHandlingModuleComponentRepositoryTest.groovy

        List<List<?>> retryCombinations() {
            def retries = []
            (1..3).each { ret ->
                // no retries on runtime errors, missing resources, authentication errors
                retries << [ret, runtimeError, 1]
                retries << [ret, missing, 1]
                retries << [ret, forbidden, 1]
                retries << [ret, unauthorized, 1]
                // retries on connect timeouts, too many requests, client timeouts
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/transport/NetworkOperationBackOffAndRetry.java

            int backoff = initialBackOff;
            int retries = 0;
            T returnValue = null;
            while (retries < maxDeployAttempts) {
                retries++;
                Throwable failure;
                try {
                    returnValue = operation.call();
                    if (retries > 1) {
                        LOGGER.info("Successfully ran '{}' after {} retries", operation, retries - 1);
                    }
                    break;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 04:09:56 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenBrokenRemoteResolveIntegrationTest.groovy

    }
    """
    
            when:
            (retries - 1).times {
                module.pom.expectGetBroken()
            }
            module.pom.expectGet()
            module.artifact.expectGet()
    
            then:
            succeeds("showBroken")
    
            where:
            retries << (1..3)
        }
    
        @Unroll("recovers from initial failed artifact download (max retries = #retries)")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 12K bytes
    - Viewed (0)
  4. staging/src/k8s.io/cli-runtime/pkg/printers/tableprinter_test.go

    				{Name: "Status", Type: "string"},
    				{Name: "Retries", Type: "integer", Priority: 1},
    				{Name: "Age", Type: "string", Priority: 1},
    			},
    			rows: []metav1.TableRow{
    				{Cells: []interface{}{"test1", "1/1", "podPhase", int64(5), "20h"}},
    			},
    			// Print with no headers.
    			options:  PrintOptions{Wide: true},
    			expected: "NAME    READY   STATUS     RETRIES   AGE\ntest1   1/1     podPhase   5         20h\n",
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 30 15:08:43 UTC 2022
    - 24.4K bytes
    - Viewed (0)
  5. pkg/webhooks/webhookpatch_test.go

    func TestWebhookPatchingQueue(t *testing.T) {
    	success := atomic.NewInt32(0)
    	retries := atomic.NewInt32(0)
    	queue := newWebhookPatcherQueue(func(key types.NamespacedName) error {
    		if key.Name == "conflict-for-ever" {
    			retries.Inc()
    			return errors.New("conflict error")
    		}
    		if key.Name == "conflict-success" {
    			retries.Inc()
    			if retries.Load() < 5 {
    				return errors.New("conflict error")
    			}
    			success.Inc()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 02 09:53:38 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  6. cluster/gce/gci/master-helper.sh

      create-master-instance-internal "${REPLICA_NAME}"
    }
    
    
    # run-gcloud-command runs a given command over ssh with retries.
    function run-gcloud-command() {
      local master_name="${1}"
      local zone="${2}"
      local command="${3}"
    
      local retries=5
      local sleep_sec=10
    
      local result=""
    
      for ((i=0; i<retries; i++)); do
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 17 19:00:22 UTC 2022
    - 8.7K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/route/retry/retry_test.go

    			},
    		},
    		{
    			name: "TestZeroAttemptsShouldReturnNilPolicy",
    			// Create a route with a retry policy with zero attempts configured.
    			route: &networking.HTTPRoute{
    				Retries: &networking.HTTPRetry{
    					// Explicitly not retrying.
    					Attempts: 0,
    				},
    			},
    			assertFunc: func(g *WithT, policy *envoyroute.RetryPolicy) {
    				g.Expect(policy).To(BeNil())
    			},
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. src/cmd/go/internal/robustio/robustio.go

    package robustio
    
    // Rename is like os.Rename, but on Windows retries errors that may occur if the
    // file is concurrently read or overwritten.
    //
    // (See golang.org/issue/31247 and golang.org/issue/32188.)
    func Rename(oldpath, newpath string) error {
    	return rename(oldpath, newpath)
    }
    
    // ReadFile is like os.ReadFile, but on Windows retries errors that may
    // occur if the file is concurrently replaced.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  9. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/Install.java

                    failed = false;
                } catch (ZipException e) {
                    if (retries >= RETRIES && distributionSha256Sum == null) {
                        distributionSha256Sum = fetchDistributionSha256Sum(configuration, localZipFile);
                    }
                    failed = true;
                    retries--;
                    if(retries <= 0){
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/ErrorHandlingModuleComponentRepository.java

                                                                                                             Transformer<E, Throwable> onError) {
                int retries = 0;
                int backoff = initialBackOff;
    
                while (retries < maxTentativesCount) {
                    retries++;
                    E failure;
                    Throwable unexpectedFailure = null;
                    try {
                        failure = operation.call();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top