Skip to content

Commit

Permalink
[v1.22.x] fabtests/pytest/shm: reduce the msg size in test_unexpected…
Browse files Browse the repository at this point in the history
…_msg

It is observed 1M caused some OOM error for some cuda allocation,
9000 should be big enough as it exceeds the shm's inject size.

Signed-off-by: Shi Jin <sjina@amazon.com>
(cherry picked from commit afaed0c)
  • Loading branch information
shijin-aws authored and j-xiong committed Jul 25, 2024
1 parent c21b2ad commit d37f6fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fabtests/pytest/shm/test_unexpected_msg.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


@pytest.mark.functional
@pytest.mark.parametrize("msg_size", [1, 512, 9000, 1048576]) # cover various switch points of shm/efa protocols
@pytest.mark.parametrize("msg_size", [1, 512, 9000]) # cover various switch points of shm protocols
@pytest.mark.parametrize("msg_count", [1, 1024, 2048]) # below and above shm's default rx size
def test_unexpected_msg(cmdline_args, msg_size, msg_count, memory_type, completion_semantic):
from common import ClientServerTest
Expand Down

0 comments on commit d37f6fd

Please sign in to comment.