Skip to content

Commit

Permalink
Reduce RL E2E sleep to 3s (#1466)
Browse files Browse the repository at this point in the history
Signed-off-by: Arko Dasgupta <arko@tetrate.io>
  • Loading branch information
arkodg committed May 31, 2023
1 parent eb62289 commit d532423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/tests/ratelimit.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ var RateLimitTest = suite.ConformanceTest{

// TODO: find a better to make sure ratelimit load new configuration
// just wait a bit more time for now
time.Sleep(30 * time.Second)
time.Sleep(3 * time.Second)

// TODO: should just send exactly 4 requests, and expect 429
http.MakeRequestAndExpectEventuallyConsistentResponse(t, suite.RoundTripper, suite.TimeoutConfig, gwAddr, http.ExpectedResponse{
Expand Down

0 comments on commit d532423

Please sign in to comment.