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

tests: Add event-enabled tests over SRD #1369

Merged
merged 1 commit into from
Jul 16, 2023

Conversation

ygoldamzn
Copy link
Contributor

Added event enabled cq tests over SRD, with new and old send.

Copy link
Contributor

@EdwardSro EdwardSro left a comment

Choose a reason for hiding this comment

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

Please move the test to test_efa_srd.py or another EFA-specific test file

@ygoldamzn
Copy link
Contributor Author

Please move the test to test_efa_srd.py or another EFA-specific test file

Done.
I've decided to duplicate the create_cq_with_comp_channel() method because:

  1. sharing between test suites introduces a bad dependency since there's no real sense of hierarchy there
  2. it seems too specific to move to a base library

Comment on lines 30 to 31
self.server = None
self.client = None
Copy link
Contributor

Choose a reason for hiding this comment

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

BTW, no need to initiate server and client as it's already done in RDMATestCase.init()
Except for that, it looks good to me.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK, removed.

Added event enabled cq tests over SRD, with new and old send.

Signed-off-by: Yonatan Goldhirsh <[email protected]>
@rleon rleon merged commit ccb120c into linux-rdma:master Jul 16, 2023
14 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
3 participants