test(e2e): Decrease rate limit in config (#4183)

pull/4202/head
Michael Li 2 years ago committed by Johan Brandhorst-Satzkorn
parent 050bcdfec9
commit 3bf925ca32

@ -35,8 +35,8 @@ controller {
resources = ["host"]
actions = ["read"]
per = "auth-token"
limit = 5
period = "5s"
limit = 3
period = "10s"
}
api_rate_limit_max_quotas = 1

@ -359,7 +359,7 @@ func TestCliRateLimit(t *testing.T) {
// Log in as a second user and confirm you get a HTTP 503 response
t.Log("Logging in as another user...")
boundary.AuthenticateCli(t, ctx, bc.AuthMethodId, acctName, acctPassword)
for i := 0; i < policyLimit; i++ {
for i := 0; i <= policyLimit; i++ {
output = e2e.RunCommand(ctx, "boundary", e2e.WithArgs("hosts", "read", "-id", newHostId))
t.Log(output.Duration)
if output.Err != nil {

Loading…
Cancel
Save