Skip to content
New issue

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

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

Already on GitHub? # to your account

Add ability to mock time in expirable cache #188

Open
austince opened this issue Jan 10, 2025 · 0 comments
Open

Add ability to mock time in expirable cache #188

austince opened this issue Jan 10, 2025 · 0 comments

Comments

@austince
Copy link

The expirable cache currently uses time directly, requiring time.Sleep(..) to test its behavior. Would a PR be accepted to allow passing a different implementation of this, like k8s.io/utils/clock?

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

No branches or pull requests

1 participant