Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
Signed-off-by: lmajercak-wish <[email protected]>
  • Loading branch information
lmajercak-wish committed Jun 30, 2021
1 parent 2d18c1c commit 8988873
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/service/ratelimit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ func TestUnlimited(test *testing.T) {
t.config.EXPECT().GetLimit(nil, "some-domain", request.Descriptors[1]).Return(limits[1])
t.config.EXPECT().GetLimit(nil, "some-domain", request.Descriptors[2]).Return(limits[2])

// Unlimited descriptors should not hit the cache
expectedCacheLimits := []*config.RateLimit{limits[0], nil, nil}

t.cache.EXPECT().DoLimit(nil, request, expectedCacheLimits).Return([]*pb.RateLimitResponse_DescriptorStatus{
Expand Down

0 comments on commit 8988873

Please sign in to comment.