Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Retry (0.14 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
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jun 11 16:08:08 GMT 2021
    - 2K bytes
    - Viewed (0)
  2. cni/test/install_cni.go

    	return nil
    }
    
    // compareConfResult does a string compare of 2 test files.
    func compareConfResult(result, expected string, t *testing.T) {
    	t.Helper()
    	retry.UntilSuccessOrFail(t, func() error {
    		return checkResult(result, expected)
    	}, retry.Delay(time.Millisecond*10), retry.Timeout(time.Second*3))
    }
    
    // checkBinDir verifies the presence/absence of test files.
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/configdump/testdata/routes/istio-gateway-http-route-prefix/configdump.json

               "timeout": "0s",
               "retry_policy": {
                "retry_on": "connect-failure,refused-stream,unavailable,cancelled,retriable-status-codes",
                "num_retries": 2,
                "retry_host_predicate": [
                 {
                  "name": "envoy.retry_host_predicates.previous_hosts",
                  "typed_config": {
                   "@type": "type.googleapis.com/envoy.extensions.retry.host.previous_hosts.v3.PreviousHostsPredicate"
    Json
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/cni-watcher.go

    	for ambientPod, err = s.handlers.GetPodIfAmbient(addCmd.PodName, addCmd.PodNamespace); (ambientPod == nil) && (retries < maxStaleRetries); retries++ {
    		if err != nil {
    			return err
    		}
    		log.Warnf("got an event for pod %s in namespace %s not found in current pod cache, retry %d of %d",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/envoy/configdump/testdata/routes/k8s-gateway-http-route-path-prefix/configdump.json

               "timeout": "0s",
               "retry_policy": {
                "retry_on": "connect-failure,refused-stream,unavailable,cancelled,retriable-status-codes",
                "num_retries": 2,
                "retry_host_predicate": [
                 {
                  "name": "envoy.retry_host_predicates.previous_hosts",
                  "typed_config": {
                   "@type": "type.googleapis.com/envoy.extensions.retry.host.previous_hosts.v3.PreviousHostsPredicate"
    Json
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 3.1K bytes
    - Viewed (1)
  6. cni/pkg/nodeagent/ztunnelserver_test.go

    	assert.Equal(t, len(fds), 0)
    
    	sent := m.Payload.(*zdsapi.WorkloadRequest_SnapshotSent).SnapshotSent
    	if sent == nil {
    		panic("expected snapshot sent")
    	}
    	sendAck(ztunClient)
    	ztunClient.Close()
    	// this will retry for a bit, so shouldn't flake
    	mt.Assert(ztunnelConnected.Name(), nil, monitortest.Exactly(0))
    }
    
    func TestZtunnelRemovePod(t *testing.T) {
    	ztunnelKeepAliveCheckInterval = time.Second / 10
    	mt := monitortest.New(t)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  7. common/scripts/kind_provisioner.sh

    function check_default_cluster_yaml() {
      if [[ -z "${DEFAULT_CLUSTER_YAML:-}" ]]; then
        echo 'DEFAULT_CLUSTER_YAML file must be specified. Exiting...'
        return 1
      fi
    }
    
    function setup_kind_cluster_retry() {
      retry setup_kind_cluster "$@"
    }
    
    # setup_kind_cluster creates new KinD cluster with given name, image and configuration
    # 1. NAME: Name of the Kind cluster (optional)
    # 2. IMAGE: Node image used by KinD (optional)
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 08 19:12:55 GMT 2024
    - 17.3K bytes
    - Viewed (1)
  8. 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
    
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jan 25 19:11:31 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  9. istioctl/pkg/describe/testdata/describe/tls_config.json

                          "timeout": "0s",
                          "retry_policy": {
                            "retry_on": "connect-failure,refused-stream,unavailable,cancelled,retriable-status-codes",
                            "num_retries": 2,
                            "retry_host_predicate": [
                              {
                                "name": "envoy.retry_host_predicates.previous_hosts"
                              }
    Json
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 8K bytes
    - Viewed (0)
  10. bin/build_ztunnel.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
    
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 02 21:46:06 GMT 2024
    - 5K bytes
    - Viewed (0)
Back to top