mirror of
https://github.com/zitadel/zitadel.git
synced 2026-01-05 01:11:41 +00:00
fix(test): increase retry tick duration in tests (#10787)
Adjust the retry tick duration in various tests to one minute to improve
reliability and reduce the frequency of retries.
(cherry picked from commit 4900ac477a)
This commit is contained in:
@@ -1181,7 +1181,7 @@ func TestServer_ListUsers(t *testing.T) {
|
||||
setPermissionCheckV2Flag(t, f.SetFlag)
|
||||
infos := tc.args.dep(IamCTX, tc.args.req)
|
||||
|
||||
retryDuration, tick := integration.WaitForAndTickWithMaxDuration(tc.args.ctx, 20*time.Second)
|
||||
retryDuration, tick := integration.WaitForAndTickWithMaxDuration(tc.args.ctx, time.Minute)
|
||||
require.EventuallyWithT(t1, func(ttt *assert.CollectT) {
|
||||
got, err := Client.ListUsers(tc.args.ctx, tc.args.req)
|
||||
if tc.wantErr {
|
||||
|
||||
@@ -1138,7 +1138,7 @@ func TestServer_ListUsers(t *testing.T) {
|
||||
infos := tc.args.dep(IamCTX, tc.args.req)
|
||||
|
||||
// retryDuration, tick := integration.WaitForAndTickWithMaxDuration(tt.args.ctx, 10*time.Minute)
|
||||
retryDuration, tick := integration.WaitForAndTickWithMaxDuration(tc.args.ctx, 20*time.Second)
|
||||
retryDuration, tick := integration.WaitForAndTickWithMaxDuration(tc.args.ctx, time.Minute)
|
||||
require.EventuallyWithT(t1, func(ttt *assert.CollectT) {
|
||||
got, err := Client.ListUsers(tc.args.ctx, tc.args.req)
|
||||
if tc.wantErr {
|
||||
|
||||
Reference in New Issue
Block a user