Skip to content

Add ability to mock time in expirable cache #188

@austince

Description

@austince

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions