Skip to content

Commit 5c896da

Browse files
committed
Tweak
1 parent f0254a5 commit 5c896da

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

async-ssh2-lite/tests/integration_tests/remote_port_forwarding.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,14 @@ async fn simple_with_tokio() -> Result<(), Box<dyn error::Error>> {
9494
});
9595

9696
//
97-
tokio::time::sleep(tokio::time::Duration::from_millis(500)).await;
97+
tokio::time::sleep(tokio::time::Duration::from_millis(
98+
if is_internal_test_openssh_server() {
99+
500
100+
} else {
101+
4000
102+
},
103+
))
104+
.await;
98105

99106
//
100107
let mut session =

0 commit comments

Comments
 (0)