Skip to content

Commit 8c20ba6

Browse files
committed
resolving vet
1 parent d9d54a8 commit 8c20ba6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

internal/xds/balancer/clusterimpl/tests/balancer_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)