Skip to content

Commit d172b5a

Browse files
Superjomndominicshanshan
authored andcommitted
[https://nvbugs/5351244][fix] test_mpi_session (NVIDIA#7501)
Signed-off-by: Yan Chunwei <[email protected]> Signed-off-by: Wangshanshan <[email protected]>
1 parent 0c71208 commit d172b5a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/unittest/llmapi/test_mpi_session.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,13 @@ def run_client(server_addr, values_to_process):
5454
return f"Error in client: {str(e)}"
5555

5656

57-
@pytest.mark.skip(reason="https://nvbugs/5351244")
5857
@pytest.mark.parametrize("task_type", ["submit", "submit_sync"])
5958
def test_remote_mpi_session(task_type: Literal["submit", "submit_sync"]):
6059
"""Test RemoteMpiPoolSessionClient and RemoteMpiPoolSessionServer interaction"""
61-
command = ["bash", "_test_remote_mpi_session.sh", task_type]
60+
cur_dir = os.path.dirname(os.path.abspath(__file__))
61+
test_file = os.path.join(cur_dir, "_test_remote_mpi_session.sh")
62+
assert os.path.exists(test_file), f"Test file {test_file} does not exist"
63+
command = ["bash", test_file, task_type]
6264
print(' '.join(command))
6365

6466
with Popen(command,

0 commit comments

Comments
 (0)