Skip to content

Commit

Permalink
Reduce number of threads in sb-concurrency tests; Windows can't creat…
Browse files Browse the repository at this point in the history
…e so many threads on my machine
  • Loading branch information
dmitryvk committed Nov 6, 2010
1 parent ca0e2d2 commit 4490aec
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions contrib/sb-concurrency/tests/test-mailbox.lisp
Expand Up @@ -173,19 +173,19 @@
(:timeouts . 0))

(deftest mailbox.multiple-producers-multiple-consumers
(test-mailbox-producers-consumers :n-senders 100
:n-receivers 100
(test-mailbox-producers-consumers :n-senders 50
:n-receivers 50
:n-messages 1000)
(:received . 100000)
(:received . 50000)
(:garbage . 0)
(:errors . 0)
(:timeouts . 0))

(deftest mailbox.interrupts-safety.1
(multiple-value-bind (received garbage errors timeouts)
(test-mailbox-producers-consumers
:n-senders 100
:n-receivers 100
:n-senders 50
:n-receivers 50
:n-messages 1000
:interruptor #'(lambda (threads &aux (n (length threads)))
;; 99 so even in the unlikely case that only
Expand Down

0 comments on commit 4490aec

Please sign in to comment.