test(credentials): Disable rate limiting for test
This test quickly polls a list endpoint, which exceeds the default rate limits before the test can complete in CI.
This commit is contained in:
2 files changed
+13
-1
No files matched your search
@@ -415,7 +415,13 @@ func TestUpdateAfterKeyRotation(t *testing.T) {
|
||||
// This prevents us from running tests in parallel.
|
||||
tg.SetupSuiteTargetFilters(t)
|
||||
|
||||
tc := controller.NewTestController(t, &controller.TestControllerOpts{SchedulerRunJobInterval: 100 * time.Millisecond})
|
||||
tc := controller.NewTestController(
|
||||
t,
|
||||
&controller.TestControllerOpts{
|
||||
SchedulerRunJobInterval: 100 * time.Millisecond,
|
||||
DisableRateLimiting: true,
|
||||
},
|
||||
)
|
||||
ctx := tc.Context()
|
||||
client := tc.Client()
|
||||
token := tc.Token()
|
||||
|
||||
Reference in new issue
Block a user