I am trying the example code the httpserver and no_environment_strings throws a method not found error and process_http_request never gets called.
The require and include statements work fine.
Test fails on:
EEEE..................
Finished in 0.013125 seconds.
1) Error:
test_headers(TestApp):
RangeError: integer 4329072128 too big to convert to int' /Library/Ruby/Gems/1.8/gems/eventmachine-0.12.8/lib/eventmachine.rb:242:inreceive_data'
/Library/Ruby/Gems/1.8/gems/eventmachine-0.12.8/lib/eventmachine.rb:242:in run_machine' /Library/Ruby/Gems/1.8/gems/eventmachine-0.12.8/lib/eventmachine.rb:242:inrun'
./test/test_app.rb:151:in `test_headers'
2) Error:
test_parameters(TestApp):
RangeError: integer 4329836032 too big to convert to int' /Library/Ruby/Gems/1.8/gems/eventmachine-0.12.8/lib/eventmachine.rb:242:inreceive_data'
/Library/Ruby/Gems/1.8/gems/eventmachine-0.12.8/lib/eventmachine.rb:242:in run_machine' /Library/Ruby/Gems/1.8/gems/eventmachine-0.12.8/lib/eventmachine.rb:242:inrun'
./test/test_app.rb:103:in `test_parameters'
3) Error:
test_post(TestApp):
RangeError: integer 4329013248 too big to convert to int' /Library/Ruby/Gems/1.8/gems/eventmachine-0.12.8/lib/eventmachine.rb:242:inreceive_data'
/Library/Ruby/Gems/1.8/gems/eventmachine-0.12.8/lib/eventmachine.rb:242:in run_machine' /Library/Ruby/Gems/1.8/gems/eventmachine-0.12.8/lib/eventmachine.rb:242:inrun'
./test/test_app.rb:202:in `test_post'
4) Error:
test_simple_get(TestApp):
RangeError: integer 4329039872 too big to convert to int' /Library/Ruby/Gems/1.8/gems/eventmachine-0.12.8/lib/eventmachine.rb:242:inreceive_data'
/Library/Ruby/Gems/1.8/gems/eventmachine-0.12.8/lib/eventmachine.rb:242:in run_machine' /Library/Ruby/Gems/1.8/gems/eventmachine-0.12.8/lib/eventmachine.rb:242:inrun'
./test/test_app.rb:57:in `test_simple_get'
I am trying the example code the httpserver and no_environment_strings throws a method not found error and process_http_request never gets called.
The require and include statements work fine.
Test fails on: EEEE.................. Finished in 0.013125 seconds.
1) Error: test_headers(TestApp): RangeError: integer 4329072128 too big to convert to
int' /Library/Ruby/Gems/1.8/gems/eventmachine-0.12.8/lib/eventmachine.rb:242:in
receive_data' /Library/Ruby/Gems/1.8/gems/eventmachine-0.12.8/lib/eventmachine.rb:242:inrun_machine' /Library/Ruby/Gems/1.8/gems/eventmachine-0.12.8/lib/eventmachine.rb:242:in
run' ./test/test_app.rb:151:in `test_headers'2) Error: test_parameters(TestApp): RangeError: integer 4329836032 too big to convert to
int' /Library/Ruby/Gems/1.8/gems/eventmachine-0.12.8/lib/eventmachine.rb:242:in
receive_data' /Library/Ruby/Gems/1.8/gems/eventmachine-0.12.8/lib/eventmachine.rb:242:inrun_machine' /Library/Ruby/Gems/1.8/gems/eventmachine-0.12.8/lib/eventmachine.rb:242:in
run' ./test/test_app.rb:103:in `test_parameters'3) Error: test_post(TestApp): RangeError: integer 4329013248 too big to convert to
int' /Library/Ruby/Gems/1.8/gems/eventmachine-0.12.8/lib/eventmachine.rb:242:in
receive_data' /Library/Ruby/Gems/1.8/gems/eventmachine-0.12.8/lib/eventmachine.rb:242:inrun_machine' /Library/Ruby/Gems/1.8/gems/eventmachine-0.12.8/lib/eventmachine.rb:242:in
run' ./test/test_app.rb:202:in `test_post'4) Error: test_simple_get(TestApp): RangeError: integer 4329039872 too big to convert to
int' /Library/Ruby/Gems/1.8/gems/eventmachine-0.12.8/lib/eventmachine.rb:242:in
receive_data' /Library/Ruby/Gems/1.8/gems/eventmachine-0.12.8/lib/eventmachine.rb:242:inrun_machine' /Library/Ruby/Gems/1.8/gems/eventmachine-0.12.8/lib/eventmachine.rb:242:in
run' ./test/test_app.rb:57:in `test_simple_get'22 tests, 30 assertions, 0 failures, 4 errors