Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 195 for Petry (0.1 sec)

  1. bin/retry.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    # retry.sh retries a command until it succeeds. It accepts a regex pattern to match failures on to
    # determine if a retry should be attempted.
    # Example: retry.sh "connection timed out" ./my-flaky-script.sh some args
    # This will run "my-flaky-script.sh", retrying any failed runs that output "connection timed out" up
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 11 16:08:08 UTC 2021
    - 2K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/route/retry/retry.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package retry
    
    import (
    	"net/http"
    	"strconv"
    	"strings"
    
    	route "github.com/envoyproxy/go-control-plane/envoy/config/route/v3"
    	previouspriorities "github.com/envoyproxy/go-control-plane/envoy/extensions/retry/priority/previous_priorities/v3"
    	wrappers "google.golang.org/protobuf/types/known/wrapperspb"
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. pkg/test/util/assert/tracker.go

    		}
    		return nil
    	}, retry.Timeout(time.Second), retry.BackoffDelay(time.Millisecond))
    	if err != nil {
    		t.t.Fatal(err)
    	}
    	t.Empty()
    }
    
    // WaitCompare waits for an event to happen and ensures it meets a custom comparison function
    func (t *Tracker[T]) WaitCompare(f func(T) bool) {
    	t.t.Helper()
    	var err error
    	retry.UntilSuccessOrFail(t.t, func() error {
    		t.mu.Lock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. pkg/test/framework/components/echo/flags.go

    }
    
    // DefaultCallRetryOptions returns the default call retry options as specified in command-line flags.
    func DefaultCallRetryOptions() []retry.Option {
    	return []retry.Option{retry.Timeout(callTimeout), retry.BackoffDelay(callDelay), retry.Converge(callConverge)}
    }
    
    // DefaultReadinessTimeout returns the default echo readiness check timeout.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 13 17:44:00 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/crdclient/client_test.go

    		}
    		return nil
    	}, retry.Timeout(time.Second*5), retry.Converge(5))
    	retry.UntilOrFail(t, func() bool {
    		return store.Get(r.GroupVersionKind(), configMeta.Name, configMeta.Namespace) == nil
    	}, retry.Message("expected no items returned for unknown CRD"), retry.Timeout(time.Second*5), retry.Converge(5))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 02:58:52 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. tests/integration/telemetry/api/stats_test.go

    				cltInstance := cltInstance
    				g.Go(func() error {
    					err := retry.UntilSuccess(func() error {
    						if _, err := cltInstance.Call(echo.CallOptions{
    							Address: "fake.external.com",
    							Scheme:  scheme.HTTPS,
    							Port:    ports.HTTPS,
    							Count:   1,
    							Retry:   echo.Retry{NoRetry: true}, // we do retry in outer loop
    							Check:   check.OK(),
    						}); err != nil {
    							return err
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  7. tests/integration/pilot/gw_topology_test.go

    ---
    `).ApplyOrFail(t, apply.NoCleanup)
    			cs := t.Clusters().Default().(*kubecluster.Cluster)
    			retry.UntilSuccessOrFail(t, func() error {
    				_, err := kubetest.CheckPodsAreReady(kubetest.NewPodFetch(cs, gatewayNs.Name(), "istio=ingressgateway"))
    				return err
    			}, retry.Timeout(time.Minute*2), retry.Delay(time.Second))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. pkg/security/retry.go

    var CARetryOptions = []retry.CallOption{
    	retry.WithMax(5),
    	retry.WithBackoff(wrapBackoffWithMetrics(retry.BackoffExponentialWithJitter(100*time.Millisecond, 0.1))),
    	retry.WithCodes(codes.Canceled, codes.DeadlineExceeded, codes.ResourceExhausted, codes.Aborted, codes.Internal, codes.Unavailable),
    }
    
    // CARetryInterceptor is a grpc UnaryInterceptor that adds retry options, as a convenience wrapper
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. tests/integration/operator/switch_cr_test.go

    					}
    				}
    				return nil
    			}, retry.Timeout(retryTimeOut), retry.Delay(retryDelay))
    
    			// test operator remove command by purge
    			scopes.Framework.Infof("checking operator remove command")
    			removeCmd = []string{
    				"operator", "remove",
    				"--skip-confirmation",
    				"--purge",
    			}
    			istioCtl.InvokeOrFail(t, removeCmd)
    
    			retry.UntilSuccessOrFail(t, func() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. pkg/istio-agent/health/health_check_test.go

    			}
    			cont <- struct{}{}
    			eventNum.Inc()
    		}, quitChan)
    		retry.UntilSuccessOrFail(t, func() error {
    			if int(eventNum.Load()) != len(expectedTCPEvents) {
    				return fmt.Errorf("waiting for %v events", len(expectedTCPEvents)-int(eventNum.Load()))
    			}
    			return nil
    		}, retry.Delay(time.Millisecond*10), retry.Timeout(time.Second))
    		close(quitChan)
    	})
    	t.Run("http", func(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 09 16:50:11 UTC 2023
    - 6.3K bytes
    - Viewed (0)
Back to top