[erlang-questions] eunit timeout setting doesn't work?

Roger Lipscombe roger@REDACTED
Thu Jan 22 12:45:58 CET 2015


On 21 January 2015 at 16:56, Roger Lipscombe <roger@REDACTED> wrote:
> Learn You Some Erlang suggests that
>
>     all_test_() ->
>         {timeout, 600, [fun first/0, fun second/0]}.
>
> ...ought to work. But it doesn't. I still get a timeout after approx 5 seconds.

It turns out that it works fine if there's only *one* test in the set,
but not if there's more than one. This is surely a bug?

     all_test_() ->
         {timeout, 600, [fun slow/0]}.



More information about the erlang-questions mailing list