Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ReachedClusters (0.24 sec)

  1. pkg/test/framework/components/echo/check/checkers.go

    // client were reached.
    func ReachedClusters(allClusters cluster.Clusters, expectedClusters cluster.Clusters) echo.Checker {
    	expectedByNetwork := expectedClusters.ByNetwork()
    	return func(result echo.CallResult, err error) error {
    		return checkReachedClusters(result, allClusters, expectedByNetwork)
    	}
    }
    
    // ReachedSourceCluster is similar to ReachedClusters, except it only checks the reachability of source cluster only
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 03 16:19:07 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  2. tests/integration/pilot/workloadentry_test.go

    								// that selector helps us verify that we reached the endpoints due to the WorkloadEntry and not regular multicluster service discovery
    								Check:                   check.ReachedClusters(t.Clusters(), apps.A.Clusters().Configs()),
    								Address:                 "serviceentry.mesh.global",
    								Port:                    ports.HTTP,
    								Scheme:                  scheme.HTTP,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. tests/integration/security/reachability_test.go

    												opts.Check = check.And(opts.Check, check.ReachedSourceCluster(t.Clusters()))
    											} else {
    												opts.Check = check.And(opts.Check, check.ReachedClusters(t.Clusters(), expectedClusters))
    											}
    										} else {
    											// Expect to stay in the same cluster as the source pod.
    											expectedClusters := cluster.Clusters{from.Config().Cluster}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  4. tests/integration/pilot/multicluster_test.go

    							source.CallOrFail(t, echo.CallOptions{
    								To: to,
    								Port: echo.Port{
    									Name: "http",
    								},
    								Check: check.And(
    									check.OK(),
    									check.ReachedClusters(t.AllClusters(), cluster.Clusters{source.Config().Cluster}),
    								),
    								Retry: echo.Retry{
    									Options: []retry.Option{multiclusterRetryDelay, multiclusterRetryTimeout},
    								},
    							})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. tests/integration/pilot/mcs/discoverability/discoverability_test.go

    			Namespace: echos.Namespace.Name(),
    		},
    	}
    }
    
    func checkClustersReached(allClusters cluster.Clusters, clusters cluster.Clusters) echo.Checker {
    	return check.And(
    		check.OK(),
    		check.ReachedClusters(allClusters, clusters))
    }
    
    func checkDNSLookupFailed() echo.Checker {
    	return check.And(
    		check.Error(),
    		func(_ echo.CallResult, err error) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  6. tests/integration/pilot/ingress_test.go

          - backend:
              service:
                name: b
                port:
                  number: 80
            path: %s
            pathType: Prefix
    `
    
    			successChecker := check.And(check.OK(), check.ReachedClusters(t.AllClusters(), apps.B.Clusters()))
    			failureChecker := check.Status(http.StatusNotFound)
    			count := 2 * t.Clusters().Len()
    
    			// TODO check all clusters were hit
    			cases := []struct {
    				name       string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  7. tests/integration/pilot/common/routing.go

    								// See https://github.com/istio/istio/issues/32208 for details
    								// We want to skip this for requests from the cross-network pod
    								if err := check.ReachedClusters(t.AllClusters(), toClusters).Check(echo.CallResult{
    									From:      result.From,
    									Opts:      result.Opts,
    									Responses: hostResponses,
    								}, nil); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
Back to top