Mochiweb EUnit test fails on FreeBSD again

Skip to first unread message

Jan 3, 2014, 4:11:28 AM1/3/14
FreeBSD testing timeout again detected on the latest Mochiweb:
a pull request sent for fix.

Kenji Rikitake

Update test/mochiweb_tests.erl

* With Erlang R16B03 running on FreeBSD/amd64 10.0-PRERELEASE
(base/stable/10 r260159),
the following tests will not finish
within the default eunit timeout of 5 seconds
(See `lib/eunit/src/eunit_internal.hrl` (of R16B03))
so cases modified to extend timeout to 60 seconds (`LARGE_TIMEOUT`):

% note well the underscore at the end of function names

See also <>

++> Kenji Rikitake <> [2011-02-12 17:27:33 -0800]:
> Date: Sat, 12 Feb 2011 17:27:33 -0800 (PST)
> From: Kenji Rikitake <>
> To: MochiWeb <>
> Subject: [mochiweb] Re: mochiweb EUnit test crashes on FreeBSD
> Reply-To:
> Test changed to add another explicit timeout value, and it worked.
> (Approx 10 seconds required for the failed HTTP(S) tests)
> git fetch git:// eunit-slow-httptests
> Kenji Rikitake
> On Feb 13, 2:11 am, Bob Ippolito <> wrote:
> > We don't currently test on FreeBSD so I can't give you any really good
> > advice here. It might be just that your testing machine runs too
> > slowly to complete this test with eunit's default timeout. You might
> > want to try raising that timeout by using a different eunit macro to
> > run it with a custom timeout. See the EUnit test representation docs
> > in the user guide.
> --
> You received this message because you are subscribed to the Google Groups "MochiWeb" group.
> To post to this group, send email to
> To unsubscribe from this group, send email to
> For more options, visit this group at
Reply all
Reply to author
0 new messages