Skip to content

Commit 979e387

Browse files
committed
fix: increase SSH session timeout for tests to improve reliability
1 parent 652be02 commit 979e387

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

versatiles_core/src/io/sftp_utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ pub fn open_session(url: &Url, identity_file: Option<&Path>) -> Result<Session>
4545
#[cfg(not(test))]
4646
session.set_timeout(10_000);
4747
#[cfg(test)]
48-
session.set_timeout(200);
48+
session.set_timeout(1_000);
4949
session.handshake()?;
5050
// Keepalive causes session teardown to block for `api_timeout` per drop in tests
5151
// because the test server never acknowledges keepalive or channel-close replies.

0 commit comments

Comments
 (0)