Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[envTest]: How to handle result.RequeueAfter ? #3090

Open
guettli opened this issue Jan 24, 2025 · 0 comments
Open

[envTest]: How to handle result.RequeueAfter ? #3090

guettli opened this issue Jan 24, 2025 · 0 comments

Comments

@guettli
Copy link
Contributor

guettli commented Jan 24, 2025

How to handle result.RequeueAfter in envTests?

I noticed that my envTests fail, when I use result.RequeuAfter instead of Requeue: true.

Do you use a global variable, and the use RequeueAfter: requeueDuration.

Then you could run the envTest with the global variable requeueDuration set to a different value.

Imagine there is a good answer to this question. Where could this answer be documented?

related Slack thread #controller-runtime

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant