make a sandbox test much less likely to fail

Give it 20 seconds to run out of memory insteda of 2 seconds. The
test is still non-deterministic, though.
This commit is contained in:
Matthew Flatt 2012-02-10 10:19:07 -07:00
parent 593e4a4f1d
commit ecc4f4bbbe

View File

@ -166,7 +166,7 @@
=err> "out of time"
(when (custodian-memory-accounting-available?)
(t --top--
(parameterize ([sandbox-eval-limits '(2 2)])
(parameterize ([sandbox-eval-limits '(20 2)])
(make-base-evaluator! '(define a (for/list ([i (in-range 10)])
(collect-garbage)
(make-bytes 500000)))))