- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 110 for Petry (0.03 sec)
-
bin/init.sh
DOWNLOAD_COMMAND="" function set_download_command () { # Try curl. if command -v curl > /dev/null; then if curl --version | grep Protocols | grep https > /dev/null; then DOWNLOAD_COMMAND="curl -fLSs --retry 5 --retry-delay 1 --retry-connrefused" return fi echo curl does not support https, will try wget for downloading files. else echo curl is not installed, will try wget for downloading files. fi
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jan 25 19:11:31 UTC 2024 - 6.1K bytes - Viewed (0) -
pilot/pkg/xds/discovery_test.go
return fmt.Errorf("got %v full and %v partial, expected %v full and %v partial", full, partial, expectedFull, expectedPartial) } return nil } }, retry.Timeout(opts.DebounceAfter*8), retry.Delay(opts.DebounceAfter/2)) if err != nil { t.Error(err) } } // Send updates tt.test(updateCh, expect) close(stopCh) wg.Wait() }) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 00:26:45 UTC 2024 - 9.2K bytes - Viewed (0) -
pkg/lazy/lazy_test.go
import ( "fmt" "sync" "testing" "go.uber.org/atomic" "istio.io/istio/pkg/log" "istio.io/istio/pkg/slices" "istio.io/istio/pkg/test/util/assert" ) func TestLazySerial(t *testing.T) { t.Run("retry", func(t *testing.T) { computations := atomic.NewInt32(0) l := NewWithRetry(func() (int32, error) { res := computations.Inc() if res > 2 { return res, nil } return res, fmt.Errorf("not yet")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 24 17:36:41 UTC 2023 - 3K bytes - Viewed (0) -
pkg/test/framework/components/namespace/kube.go
return err } err := retry.UntilSuccess(func() error { _, err := c.Kube().CoreV1().ServiceAccounts(n.name).Patch(context.TODO(), "default", types.JSONPatchType, []byte(`[{"op": "add", "path": "/imagePullSecrets", "value": [{"name": "test-gcr-secret"}]}]`), metav1.PatchOptions{}) return err }, retry.Delay(1*time.Second), retry.Timeout(10*time.Second)) if err != nil { return err
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 9K bytes - Viewed (0) -
pilot/pkg/config/aggregate/config_test.go
Meta: config.Meta{ GroupVersionKind: gvk.HTTPRoute, Name: "another", }, }) if err != nil { t.Fatal(err) } retry.UntilOrFail(t, handled.Load, retry.Timeout(time.Second)) }) } func schemaFor(kind, proto string) resource.Schema { return resource.Builder{ Kind: kind, Plural: strings.ToLower(kind) + "s", Proto: proto,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 02 17:36:47 UTC 2024 - 6.7K bytes - Viewed (0) -
security/pkg/monitoring/monitoring.go
const ( TokenExchange = "token_exchange" CSR = "csr" ) var NumOutgoingRetries = monitoring.NewSum( "num_outgoing_retries", "Number of outgoing retry requests (e.g. to a token exchange server, CA, etc.)",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 20:25:52 UTC 2023 - 1K bytes - Viewed (0) -
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) -
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) -
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) -
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)