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

Prepare python test helpers for receiving commands #774

Merged
merged 3 commits into from
Aug 31, 2023

Conversation

mnissler-rivos
Copy link
Contributor

Thus far, the python test code has only ever sent messages of type commands to the server and processed the corresponding replies. For the twin-socket feature, the tests will exercise flows where DMA access commands must be received, processed, and replied to by the client.

This change refactors the message handling python test code to provide functions to handle server-to-client commands, reusing existing code as appropriate.

Thus far, the python test code has only ever sent messages of type
commands to the server and processed the corresponding replies. For the
twin-socket feature, the tests will exercise flows where DMA access
commands must be received, processed, and replied to by the client.

This change refactors the message handling python test code to provide
functions to handle server-to-client commands, reusing existing code as
appropriate.

Signed-off-by: Mattias Nissler <[email protected]>
Copy link
Collaborator

@jlevon jlevon left a comment

Choose a reason for hiding this comment

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

LGTM thanks

@tmakatos tmakatos merged commit 2e8ec2e into nutanix:master Aug 31, 2023
8 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.

3 participants