Skip to content
Prev Previous commit
Next Next commit
Exercise nonmultiplexed SSH test on every test platform
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
  • Loading branch information
devin-ai-integration[bot] committed Oct 17, 2026
commit b60aac5db7950e4250a8afaee7f681873814d9f0
10 changes: 8 additions & 2 deletions src/jobs/ssh/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -301,11 +301,17 @@ mod tests {
}
}

#[cfg(windows)]
#[tokio::test]
#[ignore = "requires a real SSH host; set ORX_SSH_TEST_HOST"]
async fn real_ssh_reuses_one_shell_across_commands_and_remote_failures() {
let target = SshTarget::alias(&std::env::var("ORX_SSH_TEST_HOST").unwrap());
let mut target = SshTarget::alias(&std::env::var("ORX_SSH_TEST_HOST").unwrap());
// Exercise the Windows transport even if the test host supports ControlMaster.
target.extra_opts = vec![
"-o".into(),
"ControlMaster=no".into(),
"-o".into(),
"ControlPath=none".into(),
];
Comment thread
greptile-apps[bot] marked this conversation as resolved.
Resolved
let call = |command: &'static str| {
let target = target.clone();
async move { run(&target, command, &mut &b""[..], 0).await }
Expand Down
Loading