Skip to content

Commit

Permalink
test_utility_n_multi_rank_with_launcher: Add logic
Browse files Browse the repository at this point in the history
  • Loading branch information
mag1cp1n authored Oct 23, 2023
1 parent 35c7055 commit ac12c5d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/unit/legate/driver/test_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -1228,7 +1228,10 @@ def test_utility_n_multi_rank_with_launcher(

result = m.cmd_bgwork(config, system, launcher)

assert result == ("-ll:bgwork", value)
if "ucx" in install_info.networks:
assert result == ("-ll:bgwork", value, "-ll:bgworkpin", "1")
else:
assert result == ("-ll:bgwork", value)

@pytest.mark.parametrize("launch", ("mpirun", "jsrun", "srun"))
@pytest.mark.parametrize("value", ("2", "3", "10"))
Expand Down

0 comments on commit ac12c5d

Please sign in to comment.