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

This commit is contained in:
Michael Li authored and Johan Brandhorst-Satzkorn committed 2024-01-05 07:43:21 -08:00
1 parent 050bcdfec9
commit 3bf925ca32
2 files changed
+3 -3

No files matched your search

@@ -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 {