Skip to content

Commit

Permalink
fabtests/pytest/shm: reduce the msg size in test_unexpected_msg
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
shijin-aws authored and j-xiong committed Jul 25, 2024
1 parent 2cffc27 commit afaed0c
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 afaed0c

Please sign in to comment.