File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
test/clojure/test_clojure Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 51115111 (do @agt nil ) ; touch agent just to propagate errors
51125112 (do
51135113 (send-off agt fill)
5114+ (release-pending-sends )
51145115 (cons (if (identical? x NIL) nil x) (drain )))))))]
51155116 (send-off agt fill)
51165117 (drain ))))
Original file line number Diff line number Diff line change 176176 (is (= (.size small-lbq)
177177 (dec queue-backlog)))))))
178178
179+ ; ; Check for a deadlock condition when one seque was fed into another
180+ ; ; seque. Note that this test does not throw an exception or
181+ ; ; otherwise fail if the issue is not fixed -- it simply deadlocks and
182+ ; ; hangs until killed.
183+ (deftest seque-into-seque-deadlock
184+ (is (= (range 10 ) (seque 3 (seque 3 (range 10 ))))))
185+
179186; http://clojure.org/agents
180187
181188; agent
You can’t perform that action at this time.
0 commit comments