mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-15 18:25:13 +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.
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
// WaitForAndTickWithMaxDuration determine a duration and interval for EventuallyWithT-tests from context timeout and desired max duration
|
||||
func WaitForAndTickWithMaxDuration(ctx context.Context, max time.Duration) (time.Duration, time.Duration) {
|
||||
// interval which is used to retry the test
|
||||
tick := time.Millisecond * 100
|
||||
tick := time.Second
|
||||
// tolerance which is used to stop the test for the timeout
|
||||
tolerance := tick * 5
|
||||
// default of the WaitFor is always a defined duration, shortened if the context would time out before
|
||||
|
||||
Reference in New Issue
Block a user