File tree Expand file tree Collapse file tree
internal/xds/balancer/clusterimpl/tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -439,8 +439,8 @@ func (s) TestCircuitBreaking(t *testing.T) {
439439
440440 // Since we are at the max, new streams should fail. It's possible some are
441441 // allowed due to inherent raciness in the tracking, however.
442- const droppedRpcCount = 100
443- for i := 0 ; i < droppedRpcCount ; i ++ {
442+ const droppedRPCCount = 100
443+ for i := 0 ; i < droppedRPCCount ; i ++ {
444444 stream , err := client .FullDuplexCall (ctx )
445445 switch {
446446 case err == nil :
@@ -476,7 +476,7 @@ func (s) TestCircuitBreaking(t *testing.T) {
476476 case req := <- mgmtServer .LRSServer .LRSRequestChan .C :
477477 loadStats := req .(* fakeserver.Request ).Req .(* v3lrspb.LoadStatsRequest )
478478 for _ , cs := range loadStats .ClusterStats {
479- if cs .TotalDroppedRequests != droppedRpcCount || cs .UpstreamLocalityStats [0 ].TotalIssuedRequests != maxRequests {
479+ if cs .TotalDroppedRequests != droppedRPCCount || cs .UpstreamLocalityStats [0 ].TotalIssuedRequests != maxRequests {
480480 t .Errorf ("Failed with unexpected outputs" )
481481 }
482482 }
You can’t perform that action at this time.
0 commit comments