Skip to content

Commit b28297f

Browse files
committed
Make the ssh tail test block for a shorter amount of time.
1 parent aaf43be commit b28297f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/clj_libssh2/test_ssh.clj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@
9696
(swap! output conj (String. b off len))))
9797
run-exec (future
9898
(try
99-
(ssh/exec {:port 2222
99+
(ssh/exec {:blocking-timeout 5000
100+
:port 2222
100101
:read-timeout 5000}
101102
(str "tail -F " tempfile)
102103
:out streaming-reader)

0 commit comments

Comments
 (0)