[erlang-bugs] eunit timeout doesn't work properly

Roberto Aloi <>
Wed Feb 1 17:28:58 CET 2012


5 seconds sounds like the typical default timeout for a gen_server.
Are you sure it's the eunit test itself which is timing out and not some other part of the system?

Could you please share some code?

Roberto Aloi
Erlang Solutions Ltd.

----- Original Message -----
> My function works about 7 seconds.
> i test my function via {timeout,100,[{setup,S,C,F}]} and always get
> timeout after 5 seconds.
> BUT if i test my function via {timeout,1,[{setup,S,C,F}]} i will get
> timeout after a second.
> _______________________________________________
> erlang-bugs mailing list
> http://erlang.org/mailman/listinfo/erlang-bugs

More information about the erlang-bugs mailing list