Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update test/mochiweb_tests.erl #121

Merged
merged 1 commit into from
Jan 3, 2014

Conversation

jj1bdx
Copy link
Contributor

@jj1bdx jj1bdx commented Jan 3, 2014

  • 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
      single_100k_http_POST_test_()
      single_100k_https_POST_test_()
      multiple_100k_http_POST_test_()
      multiple_100k_https_POST_test_()
    

    See also 02066a5

* 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
        single_100k_http_POST_test_()
        single_100k_https_POST_test_()
        multiple_100k_http_POST_test_()
        multiple_100k_https_POST_test_()

  See also <mochi@02066a5>
@jj1bdx
Copy link
Contributor Author

jj1bdx commented Jan 3, 2014

A test result on a FreeBSD/amd64 10-PRERELEASE machine with

 CPU: Intel(R) Core(TM) i3-3217U CPU @ 1.80GHz (1797.72-MHz K8-class CPU)

(Note the test cases with the completion time exceeding five seconds)

module 'mochiweb'
  module 'mochiweb_tests'
    mochiweb_tests: request_test...ok
    mochiweb_tests: single_http_GET_test...[0.001 s] ok
    mochiweb_tests: single_https_GET_test...[0.333 s] ok
    mochiweb_tests: multiple_http_GET_test...[0.209 s] ok
    mochiweb_tests: multiple_https_GET_test...[0.531 s] ok
    mochiweb_tests: hundred_http_GET_test_...[10.388 s] ok
    mochiweb_tests: hundred_https_GET_test_...[10.690 s] ok
    mochiweb_tests: single_128_http_POST_test...[0.003 s] ok
    mochiweb_tests: single_128_https_POST_test...[0.334 s] ok
    mochiweb_tests: single_2k_http_POST_test...[0.004 s] ok
    mochiweb_tests: single_2k_https_POST_test...[0.333 s] ok
    mochiweb_tests: single_100k_http_POST_test_...[5.664 s] ok
    mochiweb_tests: single_100k_https_POST_test_...[6.035 s] ok
    mochiweb_tests: multiple_100k_http_POST_test...ok
    mochiweb_tests: multiple_100K_https_POST_test...ok
    mochiweb_tests: hundred_128_http_POST_test_...[10.387 s] ok
    mochiweb_tests: hundred_128_https_POST_test_...[10.743 s] ok
    mochiweb_tests:91: single_GET_scheme_test_ (ssl)...[0.332 s] ok
    mochiweb_tests:92: single_GET_scheme_test_ (plain)...[0.003 s] ok
    mochiweb_tests:102: single_GET_absoluteURI_test_ (ssl)...[0.332 s] ok
    mochiweb_tests:102: single_GET_absoluteURI_test_ (plain)...[0.003 s] ok
    mochiweb_tests:106: single_CONNECT_test_ (ssl)...[0.328 s] ok
    mochiweb_tests:107: single_CONNECT_test_ (plain)...[0.003 s] ok
    mochiweb_tests:115: single_GET_any_test_ (ssl)...[0.317 s] ok
    mochiweb_tests:115: single_GET_any_test_ (plain)...[0.003 s] ok
    [done in 57.045 s]
  [done in 57.045 s]

etrepum added a commit that referenced this pull request Jan 3, 2014
@etrepum etrepum merged commit a6c2281 into mochi:master Jan 3, 2014
@jj1bdx jj1bdx deleted the jj1bdx-freebsd-testfail-fix branch January 4, 2014 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants