Timeout

19 views
Skip to first unread message

Anderson Straube

unread,
Jun 20, 2012, 9:36:21 AM6/20/12
to mxu...@googlegroups.com
Hey all,

I have a download function and file operation, when I run it through a
cfm page the code works, but when I run the unit test gives timeout
error (message below):
> java.net.SocketTimeoutException: Read timed out; Is the timeout
> preference too low? Are you dumping/calling debug() on large data or
> cfc instances?
Is there a way to set the MXUnit in RequestTimeout not to encounter this
error?

I've tried to use the <cfsetting requesttimeout="3600" /> but without
success.

Any suggestions?

Thank you.

--
[ ]'s
Anderson Straube
http://www.astraube.eti.br

Marc Esher

unread,
Jun 20, 2012, 9:57:35 AM6/20/12
to mxu...@googlegroups.com
On Wed, Jun 20, 2012 at 9:36 AM, Anderson Straube <as.l...@gmail.com> wrote:
> Hey all,
>
> I have a download function and file operation, when I run it through a cfm
> page the code works, but when I run the unit test gives timeout error
> (message below):
>>
>> java.net.SocketTimeoutException: Read timed out; Is the timeout preference
>> too low? Are you dumping/calling debug() on large data or cfc instances?
>
> Is there a way to set the MXUnit in RequestTimeout not to encounter this
> error?

Hi Anderson,

This is a setting in the Eclipse plugin view. In the MXUnit view,
click on the little triangle on the right. Select the "Timeout"
preference. Then set it to 0 which indicates "no timeout"

Marc


>
> I've tried to use the <cfsetting requesttimeout="3600" /> but without
> success.
>
> Any suggestions?
>
> Thank you.
>
> --
> [ ]'s
> Anderson Straube
> http://www.astraube.eti.br
>
> --
> You received this message because you are subscribed to the Google Groups
> "mxunit" group.
> To post to this group, send email to mxu...@googlegroups.com.
> To unsubscribe from this group, send email to
> mxunit+un...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/mxunit?hl=en.
>

Anderson Straube

unread,
Jun 20, 2012, 10:17:14 AM6/20/12
to mxu...@googlegroups.com
Hi Marc,

Very good, it worked.
I did not know this option, I thought it was some setting in the fw.

Thanks for the help.

Marc Esher

unread,
Jun 20, 2012, 2:54:57 PM6/20/12
to mxu...@googlegroups.com
On Wed, Jun 20, 2012 at 10:17 AM, Anderson Straube <as.l...@gmail.com> wrote:
> Hi Marc,
>
> Very good, it worked.
> I did not know this option, I thought it was some setting in the fw.
>
> Thanks for the help.

You're welcome! Happy testing.
Reply all
Reply to author
Forward
0 new messages