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

Refactor executeCmd func and add unit tests / mock #81

Merged
merged 2 commits into from
Sep 18, 2022

Conversation

dswarbrick
Copy link
Contributor

This is a pretty aggressive cleanup of the executeCmd Unix socket read/write function to be a bit more compact and cause fewer allocations.

Also add simple mock / test for this function.

@dswarbrick dswarbrick changed the title Socket tests Refactor executeCmd func and add unit tests / mock Sep 18, 2022
@tynany
Copy link
Owner

tynany commented Sep 18, 2022

Thank you

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.

cannot process output of show bgp vrf all ipv4 unicast summary json: unexpected end of JSON input
2 participants