MCPcopy
hub / github.com/grpc/grpc-go / clusterWithOutlierDetection

Function clusterWithOutlierDetection

test/xds/xds_client_outlier_detection_test.go:108–112  ·  view source on GitHub ↗
(clusterName, edsServiceName string, secLevel e2e.SecurityLevel, od *v3clusterpb.OutlierDetection)

Source from the content-addressed store, hash-verified

106}
107
108func clusterWithOutlierDetection(clusterName, edsServiceName string, secLevel e2e.SecurityLevel, od *v3clusterpb.OutlierDetection) *v3clusterpb.Cluster {
109 cluster := e2e.DefaultCluster(clusterName, edsServiceName, secLevel)
110 cluster.OutlierDetection = od
111 return cluster
112}
113
114// checkRoundRobinRPCs verifies that EmptyCall RPCs on the given ClientConn,
115// connected to a server exposing the test.grpc_testing.TestService, are

Callers 1

Calls 1

DefaultClusterFunction · 0.92

Tested by

no test coverage detected