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

simple testing suite for async #117

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

jash2105
Copy link

Just added some basic unit tests for the pkg/async package. Nothing fancy, but it's a start for this untested code. The tests cover AtomicBool, WaitChannel, and ConcurrentStringSet, making sure they handle the basics correctly.
I noticed while working on this that testing is pretty sparse throughout the codebase. I'm thinking about expanding coverage to other critical components in future PRs. Would be great to add tests for the provider implementations and maybe some end-to-end scenarios for the turndown/turn-up cycle. Could also look into adding some concurrency stress tests and state transition validations for the more complex parts.
Let me know what you think! Happy to adjust these tests if needed.

@jash2105
Copy link
Author

jash2105 commented Feb 28, 2025

@michaelmdresser @nickcurie @nealormsbee @AjayTripathy , please let me know If you have any comments!

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.

1 participant