Skip to content

Commit ca6c79e

Browse files
committed
Remove test affected by race condition
1 parent fe7e940 commit ca6c79e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/clj_ssh/ssh_test.clj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -615,8 +615,6 @@
615615
(is (pos? (count (:out proc))) "no options")))
616616
(testing ":out :stream"
617617
(let [proc (ssh s {:cmd "ls" :out :stream :pty true})]
618-
(is (connected-channel? (:channel proc))
619-
":channel connected")
620618
(is (> (count (slurp (:out-stream proc))) 1) ":out-stream")
621619
(is (not (connected-channel? (:channel proc)))
622620
":channel not connected")
@@ -629,8 +627,6 @@
629627
(is (zero? (:exit proc)) "zero exit status")))
630628
(testing ":out stream"
631629
(let [proc (ssh s {:in "ls" :out :stream})]
632-
(is (connected-channel? (:channel proc))
633-
":channel connected")
634630
(is (> (count (slurp (:out-stream proc))) 1) ":out-stream")
635631
(is (not (connected-channel? (:channel proc)))
636632
":channel not connected")

0 commit comments

Comments
 (0)