[erlang-questions] Error in Common Tests

Roberto Ostinelli roberto@REDACTED
Wed Apr 29 13:15:05 CEST 2015


Loïc,
Yes that did help me. It just stated {error,eoc} (i.e. no line of where
this happened) but at least I could track it down to the issue.

Thank you.
r.

On Wed, Apr 29, 2015 at 12:58 PM, Loïc Hoguin <essen@REDACTED> wrote:

> 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
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>>
> --
> Loïc Hoguin
> http://ninenines.eu
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150429/b0e44bc2/attachment.htm>


More information about the erlang-questions mailing list