Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Petry (0.04 sec)

  1. pilot/pkg/serviceregistry/serviceregistry_test.go

    		}
    		return nil
    	}, retry.Converge(2), retry.Timeout(time.Second*2), retry.Delay(time.Millisecond*10))
    }
    
    func expectServiceEndpointsFromIndex(t *testing.T, ei *model.EndpointIndex, svc *model.Service, port int, expected []EndpointResponse) {
    	t.Helper()
    	// The system is eventually consistent, so add some retries
    	retry.UntilSuccessOrFail(t, func() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/test/util/retry"
    	"istio.io/istio/pkg/util/sets"
    )
    
    const (
    	testService = "test"
    )
    
    // eventually polls cond until it completes (returns true) or times out (resulting in a test failure).
    func eventually(t test.Failer, cond func() bool) {
    	t.Helper()
    	retry.UntilSuccessOrFail(t, func() error {
    		if !cond() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  3. tests/integration/ambient/baseline_test.go

    				// found (this is actually bad, but the failure condition is inverted later a bit awkward)
    				return nil
    			}
    			return fmt.Errorf("no waypoints found")
    		}, retry.Timeout(1*time.Second), retry.BackoffDelay(time.Millisecond*100))
    		if waypointError == nil {
    			t.Fatal("Waypoint for non-existent tag foo created deployment!")
    		}
    	})
    }
    
    func TestRemoveAddWaypoint(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    	"istio.io/istio/pkg/network"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/test/util/file"
    	"istio.io/istio/pkg/test/util/retry"
    	"istio.io/istio/pkg/util/protomarshal"
    	"istio.io/istio/pkg/util/sets"
    	"istio.io/istio/pkg/workloadapi"
    	"istio.io/istio/pkg/workloadapi/security"
    )
    
    const (
    	testNS   = "ns1"
    	systemNS = "istio-system"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  5. operator/pkg/apis/istio/v1alpha1/values_types.proto

      // Note the pod will be crashlooping, so this may take a few minutes to become fully functional based on when the retry occurs.
      // This requires no RBAC privilege, but will require the CNI agent to run as a privileged pod.
      bool repairPods = 11;
    
      // No longer used.
      string createEvents = 6 [deprecated = true];
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/route/route.go

    	}
    }
    
    // BuildDefaultHTTPOutboundRoute builds a default outbound route, including a retry policy.
    func BuildDefaultHTTPOutboundRoute(clusterName string, operation string, mesh *meshconfig.MeshConfig) *route.Route {
    	out := buildDefaultHTTPRoute(clusterName, operation)
    	// Add a default retry policy for outbound routes.
    	out.GetRoute().RetryPolicy = retry.ConvertPolicy(mesh.GetDefaultHttpRetryPolicy(), false)
    	setTimeout(out.GetRoute(), nil, nil)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/serviceentry/controller_test.go

    	retry.UntilSuccessOrFail(t, func() error {
    		instances := sd.GetProxyServiceTargets(&model.Proxy{IPAddresses: []string{ip}, Metadata: &model.NodeMetadata{}})
    		sortServiceTargets(instances)
    		sortServiceTargets(expected)
    		if err := compare(t, instances, expected); err != nil {
    			return err
    		}
    		return nil
    	}, retry.Converge(2), retry.Timeout(time.Second*5))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 92.9K bytes
    - Viewed (0)
Back to top