eunit bug with timeout
From time to time in our application eunit tests we were facing with timeouts in eunit. Despite the big timeout we set in the group of tests, it anyway happened.
So I started to look deeper into eunit application itself. And figured out, that in case when one of the tests throws and exception (or anything), timeout for the group sets up to the default one that is 5 sec in eunit 2.1.3
I wrote a simple module to reproduce it:
So if you delete throw, timeout will not happened, if you execute it as it is, you’ll get timeout for the test2
Posted it to the erlang-bug list