Skip to content

Commit 3963888

Browse files
committed
Don't use so much data in tests.
Sending 10MB on STDIN to a process is overkill. 1MB is enough.
1 parent d09eebb commit 3963888

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/clj_libssh2/test_ssh.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
(is (= 0 (:exit result)))))
6161
(testing "Commands can be given a lot of input on STDIN"
6262
(let [input-line (str (str/join "" (repeat 1024 "x")) "\n")
63-
input (str/join "" (repeat (* 10 1024) input-line))
63+
input (str/join "" (repeat 1024 input-line))
6464
result (ssh/exec session timeout-cat :in input)]
6565
(is (= (count input) (count (:out result))))
6666
(is (= "" (:err result)))

0 commit comments

Comments
 (0)