Skip to content
Snippets Groups Projects
Commit 23345088 authored by Cam Saul's avatar Cam Saul
Browse files

Fix occasional test failure :wrench:

parent 0c1d5147
No related branches found
No related tags found
No related merge requests found
......@@ -107,8 +107,10 @@
(expect
(tu.async/with-chans [input-chan]
(with-response [{:keys [output-chan]} input-chan]
;; output-chan may or may not get the InterruptedException written to it -- it's a race condition -- we're just
;; want to make sure it closes
(a/close! input-chan)
(wait-for-close output-chan))))
(not= ::tu.async/timed-out (tu.async/wait-for-result output-chan)))))
;; ...as should the output stream
(expect
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment