Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 195 for Petry (0.07 sec)

  1. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    portion of the URL with this value. type: string type: object retries: description: Retry policy for HTTP requests. properties: attempts: description: Number of retries to be allowed for a given request. format: int32 type: integer perTryTimeout: description: Timeout per attempt for a given request, including the initial call and any retries. type: string retryOn: description: Specifies the conditions under which retry takes place. type: string retryRemoteLocalitie: description: Flag to specify whether...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 198.1K bytes
    - Viewed (0)
  2. pilot/pkg/trustbundle/trustbundle_test.go

    	t.Helper()
    	retry.UntilSuccessOrFail(t, func() error {
    		certs := tb.GetTrustBundle()
    		if len(certs) != expAnchorCount {
    			return fmt.Errorf("%s. Got %v, expected %v", strPrefix, len(certs), expAnchorCount)
    		}
    		return nil
    	}, retry.Timeout(ti))
    }
    
    func TestAddMeshConfigUpdate(t *testing.T) {
    	caCertPool, err := x509.SystemCertPool()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. pkg/adsc/delta_test.go

    					if _, ok := rec[tpe]; !ok {
    						return false
    					}
    					if len(rsrcs.Resources) != len(rec[tpe].Resources) {
    						return false
    					}
    				}
    				return true
    			}, true, retry.Timeout(time.Second), retry.Delay(time.Millisecond))
    
    			if !cmp.Equal(tt.inClient.lastReceived, tt.expectedDeltaResources.lastReceived, protocmp.Transform()) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 09:32:41 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. pkg/test/framework/components/echo/kube/deployment.go

    				}
    				if dep.Spec.Replicas == nil || !deploymentComplete(dep) {
    					return fmt.Errorf("rollout is not yet done (updated replicas: %v)", dep.Status.UpdatedReplicas)
    				}
    			}
    			return nil
    		}, retry.Timeout(60*time.Second), retry.Delay(2*time.Second)); err != nil {
    			errs = multierror.Append(errs, fmt.Errorf("failed to wait rollout status for %v/%v: %v",
    				d.cfg.Namespace.Name(), deploymentName, err))
    		}
    	}
    	return errs
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  5. pkg/wasm/httpfetcher_test.go

    			wantNumRequest: 1,
    		},
    		{
    			name: "download retry",
    			handler: func(w http.ResponseWriter, r *http.Request, num int) {
    				if num <= 2 {
    					w.WriteHeader(http.StatusInternalServerError)
    				} else {
    					fmt.Fprintln(w, "wasm")
    				}
    			},
    			timeout:        5 * time.Second,
    			wantNumRequest: 4,
    		},
    		{
    			name: "download max retry",
    			handler: func(w http.ResponseWriter, r *http.Request, num int) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 15:56:41 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  6. pkg/kube/controllers/queue.go

    		if retryCount < q.maxAttempts {
    			q.log.Errorf("error handling %v, retrying (retry count: %d): %v", formatKey(key), retryCount, err)
    			q.queue.AddRateLimited(key)
    			// Return early, so we do not call Forget(), allowing the rate limiting to backoff
    			return true
    		}
    		q.log.Errorf("error handling %v, and retry budget exceeded: %v", formatKey(key), err)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  7. pilot/pkg/model/test/mockopenidserver.go

    	PubKeyHitNum uint64
    
    	// The mock server will return an error for the first number of hits for public key, this is used
    	// to simulate network errors and test the retry logic in jwks resolver for public key fetch.
    	ReturnErrorForFirstNumHits uint64
    
    	// The mock server will start to return an error after the first number of hits for public key,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. pkg/spiffe/spiffe.go

    					trustDomain, endpoint, errMsg)
    			}
    
    			spiffeLog.Warnf("%s, retry in %v", errMsg, retryBackoffTime)
    			time.Sleep(retryBackoffTime)
    			retryBackoffTime *= 2 // Exponentially increase the retry backoff time.
    		}
    		defer resp.Body.Close()
    
    		doc := new(bundleDoc)
    		if err := json.NewDecoder(resp.Body).Decode(doc); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. pkg/queue/instance.go

    	task, shuttingdown := q.get()
    	if shuttingdown {
    		return false
    	}
    
    	// Run the task.
    	if err := task.task(); err != nil {
    		delay := q.delay
    		log.Infof("Work item handle failed (%v), retry after delay %v", err, delay)
    		time.AfterFunc(delay, func() {
    			q.Push(task.task)
    		})
    	}
    	q.metrics.workDuration.Record(time.Since(task.startTime).Seconds())
    
    	return true
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jul 21 16:30:36 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. security/pkg/nodeagent/cache/secretcache_test.go

    	u.hits[name]++
    }
    
    func (u *UpdateTracker) Expect(want map[string]int) {
    	u.t.Helper()
    	retry.UntilSuccessOrFail(u.t, func() error {
    		u.mu.Lock()
    		defer u.mu.Unlock()
    		if !reflect.DeepEqual(u.hits, want) {
    			return fmt.Errorf("wanted %+v got %+v", want, u.hits)
    		}
    		return nil
    	}, retry.Timeout(time.Second*5))
    }
    
    func (u *UpdateTracker) Reset() {
    	u.mu.Lock()
    	defer u.mu.Unlock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
Back to top