Skip to content

Commit 4aecc33

Browse files
authored
Update main_test.go
1 parent 5d56e66 commit 4aecc33

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

internal/ingress/annotations/ratelimit/main_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,6 @@ func TestRateLimiting(t *testing.T) {
196196
if rateLimit.RPM.Delay != 5 {
197197
t.Errorf("expected %d in delay limit by rpm but %v was returned", 5, rateLimit.RPM)
198198
}
199-
if rateLimit.RPM.SharedSize != 5 {
200-
t.Errorf("expected %d in sharedSize limit by rpm but %v was returned", 5, rateLimit.RPM)
201-
}
202199
if rateLimit.LimitRateAfter != 100 {
203200
t.Errorf("expected 100 in limit by limitrateafter but %v was returned", rateLimit.LimitRateAfter)
204201
}

0 commit comments

Comments
 (0)