Skip to content

Commit

Permalink
Allow extra error message in mpi ssh for when no protocol is specified
Browse files Browse the repository at this point in the history
  • Loading branch information
hgreebe committed Dec 2, 2024
1 parent 320abfc commit 83047ca
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def _test_mpi_ssh(remote_command_executor, test_datadir, scheduler_commands_fact

# mpirun_out_ip = ["Warning: Permanently added '192.168.60.89' (ECDSA) to the list of known hosts.",
# '', 'ip-192-168-60-89']
assert_that(len(mpirun_out_ip)).is_equal_to(3)
assert_that(len(mpirun_out_ip)).is_greater_than_or_equal_to(3)
assert_that(mpirun_out_ip[-1]).is_equal_to(remote_host)

mpirun_out = remote_command_executor.run_remote_script(
Expand All @@ -156,7 +156,7 @@ def _test_mpi_ssh(remote_command_executor, test_datadir, scheduler_commands_fact

# mpirun_out = ["Warning: Permanently added 'ip-192-168-60-89,192.168.60.89' (ECDSA) to the list of known hosts.",
# '', 'ip-192-168-60-89']
assert_that(len(mpirun_out)).is_equal_to(3)
assert_that(len(mpirun_out)).is_greater_than_or_equal_to(3)
assert_that(mpirun_out[-1]).is_equal_to(remote_host)


Expand Down

0 comments on commit 83047ca

Please sign in to comment.