diff options
Diffstat (limited to 'test/acceptance/ratelimiter_test.go')
-rw-r--r-- | test/acceptance/ratelimiter_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/acceptance/ratelimiter_test.go b/test/acceptance/ratelimiter_test.go index 2986d46b..5b3be98a 100644 --- a/test/acceptance/ratelimiter_test.go +++ b/test/acceptance/ratelimiter_test.go @@ -104,7 +104,7 @@ func TestSourceIPRateLimitMiddleware(t *testing.T) { if tc.expectFail && i >= int(tc.rateLimit) { require.Equal(t, http.StatusTooManyRequests, rsp.StatusCode, "group.gitlab-example.com request: %d failed", i) - assertLogFound(t, logBuf, []string{"source IP hit rate limit", "\"source_ip\":\"" + tc.blockedIP + "\""}) + assertLogFound(t, logBuf, []string{"request hit rate limit", "\"source_ip\":\"" + tc.blockedIP + "\""}) continue } |