Skip to content

Conversation

zhaque44
Copy link
Contributor

@zhaque44 zhaque44 commented Mar 2, 2025

I am adding two new test cases to add more coverage for cache:

TestCacheExpiration: This test validates setting, getting, and checking item expirations using SetExpiration, GetExpiration, and HasExpired. It checks that items expire correctly and the non-existent keys are handled appropriately.

TestCacheDeleteClear: This test verifies the Delete and Clear functions, confirming that items are removed as expected and that the cache can be completely cleared.

Copy link
Member

@matheuscscp matheuscscp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks very much @zhaque44! 🙏

@matheuscscp matheuscscp merged commit 9dedced into fluxcd:main Mar 3, 2025
8 checks passed
@zhaque44
Copy link
Contributor Author

zhaque44 commented Mar 3, 2025

thank you! @matheuscscp so happy to work with you and collaborate

@zhaque44 zhaque44 deleted the cache-test-updates branch March 3, 2025 21:27
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

Successfully merging this pull request may close these issues.

2 participants