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

fabtests/pytest/efa: Loose assertion for read request counters #10471

Merged
merged 1 commit into from
Oct 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions fabtests/pytest/efa/test_runt.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,15 @@ def test_runt_read_functional(cmdline_args, memory_type, copy_method):
if copy_method == "localread":
# when local read copy is used, server issue RDMA requests to copy received data
#
# so in this case, total read wr is 11, which is
# so in this case, total read wr is at least 9, which is
# 1 remote read of 192k
# 8 local read for the 64k data transfer by send
# 2 local read for 2 fabtests control messages
# More local reads for fabtests control messages
#
# and total read_bytes will be 262149, which is:
# 256k message + 2 fabtests control messages (1 byte and 4 byte each)
# and total read_bytes will be >= 256K including the control messages
#
assert server_read_wrs == 11
assert server_read_bytes == 262149
assert server_read_wrs >= 9
assert server_read_bytes >= 262144
else:
# The other 192 KB is transfer by RDMA read
# for which the server (receiver) will issue 1 read request.
Expand Down