[erlang-questions] EUnit error test: limit number of processes at runtime

Christian Kruse cjk@REDACTED
Sat Apr 28 19:06:26 CEST 2012


Hi,

for an Erlang project I'm working on (Open Source,
<https://github.com/ckruse/irckerl> in case someone is curious) I'm
trying to test a possible error with spawning a process, e.g. maximum
number of processes reached. Since I don't want to spawn > 32k
processes for each test run, I'd like to limit the number of possible
processes for this test only.

Is this possible? Or is there another solution I can use to test such
an error case?

Greetings,
 CK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120428/54bed9eb/attachment.bin>


More information about the erlang-questions mailing list