-
Notifications
You must be signed in to change notification settings - Fork 389
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prov/efa: Add testing for small messages without inject
Add tests to fabtests that test small message sizes without fi_inject. By default, fabtests injects all host messages when the message size is <= the providers inject size. This change adds testing coverage for fi_send/fi_rma without inject. Signed-off-by: Seth Zegelstein <szegel@amazon.com>
- Loading branch information
Showing
3 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,34 @@ | ||
from efa.efa_common import efa_run_client_server_test | ||
import pytest | ||
|
||
|
||
@pytest.mark.parametrize("operation_type", ["read", "writedata", "write"]) | ||
@pytest.mark.parametrize("iteration_type", | ||
[pytest.param("short", marks=pytest.mark.short), | ||
pytest.param("standard", marks=pytest.mark.standard)]) | ||
def test_rma_bw(cmdline_args, iteration_type, operation_type, completion_semantic, memory_type): | ||
from efa.efa_common import efa_run_client_server_test | ||
command = "fi_rma_bw -e rdm" | ||
command = command + " -o " + operation_type | ||
# rma_bw test with data verification takes longer to finish | ||
timeout = max(540, cmdline_args.timeout) | ||
efa_run_client_server_test(cmdline_args, command, iteration_type, completion_semantic, memory_type, "all", timeout=timeout) | ||
|
||
|
||
@pytest.mark.functional | ||
@pytest.mark.parametrize("operation_type", ["read", "writedata", "write"]) | ||
def test_rma_bw_range(cmdline_args, operation_type, completion_semantic, message_size, memory_type): | ||
from efa.efa_common import efa_run_client_server_test | ||
command = "fi_rma_bw -e rdm" | ||
command = command + " -o " + operation_type | ||
# rma_bw test with data verification takes longer to finish | ||
timeout = max(540, cmdline_args.timeout) | ||
efa_run_client_server_test(cmdline_args, command, "short", completion_semantic, memory_type, message_size, timeout=timeout) | ||
|
||
|
||
@pytest.mark.functional | ||
@pytest.mark.parametrize("operation_type", ["read", "writedata", "write"]) | ||
def test_rma_bw_range_no_inject(cmdline_args, operation_type, completion_semantic, inject_message_size): | ||
command = "fi_rma_bw -e rdm -j 0" | ||
command = command + " -o " + operation_type | ||
# rma_bw test with data verification takes longer to finish | ||
timeout = max(540, cmdline_args.timeout) | ||
efa_run_client_server_test(cmdline_args, command, "short", completion_semantic, "host_to_host", inject_message_size, timeout=timeout) |