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:
Timothy Messier committed 2023-12-04 22:40:39 +00:00
1 parent cd21f10a3b
commit 758e7b8bf1
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()