[erlang-questions] Error in Common Tests

Loïc Hoguin <>
Wed Apr 29 12:58:15 CEST 2015


Did you look inside the HTML logs that Common Test generates? They 
usually contain the complete error and stacktrace, while the console 
only gets partials.

On 04/29/2015 01:54 PM, Roberto Ostinelli wrote:
> Dear list,
> When running CT I have a test where I get:
>
> - - - - - - - - - - - - - - - - - - - - - - - - - -
> Error detected: {'EXIT',{badmatch,{...}}}
> - - - - - - - - - - - - - - - - - - - - - - - - - -
>
> No additional information. My application logs do not show any errors.
>
> Weirdly enough, if I put a timer:sleep(10) somewhere in my code, this
> error does not show up anymore.
>
> Thing is: how can I get CT to tell me the module / line where this error
> happens?
>
> Thank you,
> r.
>
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>

-- 
Loïc Hoguin
http://ninenines.eu


More information about the erlang-questions mailing list