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

Fix panics when running tests in actions #13

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

nocturnalastro
Copy link
Collaborator

@nocturnalastro nocturnalastro commented Feb 7, 2025

Fixed by adding sleep allows go routine context to switch allowing the close side effect to happen before function exits

Copy link

github-actions bot commented Feb 7, 2025

Thanks for your PR,
Best regards.

@nocturnalastro nocturnalastro force-pushed the test_panic branch 3 times, most recently from 5858be6 to 54fa639 Compare February 7, 2025 16:55
@nocturnalastro nocturnalastro changed the title Dont merge: Test to see if sleep stops the panic Fix panics when running tests in actions Feb 7, 2025
@nocturnalastro nocturnalastro force-pushed the test_panic branch 2 times, most recently from 5b5eaa8 to e359637 Compare February 7, 2025 17:15
Sleep allows go routine context to switch allowing the
close side effect to happen before function exits
@aneeshkp aneeshkp merged commit 2bd42a4 into k8snetworkplumbingwg:main Feb 7, 2025
8 of 9 checks passed
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