- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ReachedClusters (0.61 sec)
-
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) -
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) -
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) -
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)