Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 195 for Petry (0.04 sec)

  1. pilot/pkg/serviceregistry/aggregate/controller_test.go

    	// running gets flipped in a goroutine, retry to avoid race
    	retry.UntilSuccessOrFail(t, func() error {
    		for _, registry := range ctrl.registries {
    			if running := registry.Instance.(*RunnableRegistry).running.Load(); running != want {
    				return fmt.Errorf("%s running is %v but wanted %v", registry.Cluster(), running, want)
    			}
    		}
    		return nil
    	}, retry.Timeout(50*time.Millisecond), retry.Delay(0))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 06:28:11 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  2. tests/integration/helm/util.go

    		}
    		if err := kubetest.WaitForNamespaceDeletion(cs.Kube(), ns, retry.Timeout(RetryTimeOut)); err != nil {
    			t.Errorf("waiting for %s namespace to be deleted: %v", ns, err)
    		}
    	}
    }
    
    // VerifyInstallation verify that the Helm installation is successful
    func VerifyPodReady(ctx framework.TestContext, cs cluster.Cluster, ns, label string) {
    	retry.UntilSuccessOrFail(ctx, func() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  3. security/pkg/nodeagent/sds/sdsservice.go

    	// configured, in which case this will fail; if it becomes noisy we should disable the entire SDS
    	// server in these cases.
    	go func() {
    		// TODO: do we need max timeout for retry, seems meaningless to retry forever if it never succeed
    		b := backoff.NewExponentialBackOff(backoff.DefaultOption())
    		// context for both timeout and channel, whichever stops first, the context will be done
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 25 00:20:04 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. pkg/kube/kclient/index_test.go

    	"k8s.io/apimachinery/pkg/types"
    
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/kube/controllers"
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    type SaNode struct {
    	ServiceAccount types.NamespacedName
    	Node           string
    }
    
    func TestIndex(t *testing.T) {
    	c := kube.NewFakeClient()
    	pods := New[*corev1.Pod](c)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 04 03:49:30 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  5. pkg/adsc/adsc_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 tt.validator != nil {
    				if err := tt.validator(tt); err != nil {
    					t.Fatal(err)
    				}
    			}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  6. pilot/pkg/xds/ads_test.go

    	assertEndpoints := func(a *adsc.ADSC, addr ...string) {
    		t.Helper()
    		retry.UntilSuccessOrFail(t, func() error {
    			got := sets.New(xdstest.ExtractEndpoints(a.GetEndpoints()["outbound|80||foo.com"])...)
    			want := sets.New(addr...)
    
    			if !got.Equals(want) {
    				return fmt.Errorf("invalid endpoints, got %v want %v", got, addr)
    			}
    			return nil
    		}, retry.Timeout(time.Second*5))
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 30 17:25:17 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  7. pkg/config/xds/filter_types.gen.go

    	_ "github.com/envoyproxy/go-control-plane/envoy/extensions/retry/host/omit_canary_hosts/v3"
    	_ "github.com/envoyproxy/go-control-plane/envoy/extensions/retry/host/omit_host_metadata/v3"
    	_ "github.com/envoyproxy/go-control-plane/envoy/extensions/retry/host/previous_hosts/v3"
    	_ "github.com/envoyproxy/go-control-plane/envoy/extensions/retry/priority/previous_priorities/v3"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jun 02 02:48:23 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  8. pkg/kube/multicluster/secretcontroller.go

    		secrets:         secrets,
    		configOverrides: configOverrides,
    		meshWatcher:     meshWatcher,
    	}
    
    	// Queue does NOT retry. The only error that can occur is if the kubeconfig is
    	// malformed. This is a static analysis that cannot be resolved by retry. Actual
    	// connectivity issues would result in HasSynced returning false rather than an
    	// error. In this case, things will be retried automatically (via informers or
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 02:13:10 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/autoserviceexportcontroller.go

    				"Please add the CRD then restart the istiod deployment", c.logPrefix())
    			c.mcsSupported = false
    
    			// Do not return the error, so that the queue does not attempt a retry.
    			return nil
    		}
    	}
    
    	if err != nil {
    		log.Warnf("%s failed creating ServiceExport %s/%s: %v", c.logPrefix(), svc.Namespace, svc.Name, err)
    		return err
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. pkg/test/framework/resource/settings.go

    	FailOnDeprecation bool
    
    	// Local working directory root for creating temporary directories / files in. If left empty,
    	// os.TempDir() will be used.
    	BaseDir string
    
    	// The number of times to retry failed tests.
    	// This should not be depended on as a primary means for reducing test flakes.
    	Retries int
    
    	// If enabled, namespaces will be reused rather than created with dynamic names each time.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top