Created
February 15, 2010 20:02
-
-
Save mrkurt/304941 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kurt@kurtix:~/Documents/Projects/hector$ rake | |
(in /home/kurt/Documents/Projects/hector) | |
/usr/bin/ruby1.8 -I"lib:test" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/unit/session_test.rb" "test/unit/identity_test.rb" "test/unit/request_test.rb" "test/unit/irc_error_test.rb" "test/integration/messaging_test.rb" "test/integration/connection_test.rb" | |
Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader | |
Started | |
EEEEEEEEE..........EE.....EEEFEE | |
Finished in 0.025307 seconds. | |
1) Error: | |
test :"connecting with a valid password should create a session"(Hector::ConnectionTest): | |
ArgumentError: not an AF_INET/AF_INET6 sockaddr | |
./lib/hector/connection.rb:71:in `unpack_sockaddr_in' | |
./lib/hector/connection.rb:71:in `peer_info' | |
./lib/hector/connection.rb:62:in `address' | |
./lib/hector/connection.rb:75:in `log_tag' | |
./lib/hector/connection.rb:58:in `log' | |
./lib/hector/connection.rb:8:in `post_init' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:45:in `new' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `instance_eval' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `new' | |
./test/lib/hector/test_case.rb:10:in `connection' | |
./test/lib/hector/integration_test.rb:18:in `authenticated_connection' | |
./test/integration/connection_test.rb:27:in `test :"connecting with a valid password should create a session"' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run' | |
2) Error: | |
test :"connecting with an invalid password should respond with a 464"(Hector::ConnectionTest): | |
ArgumentError: not an AF_INET/AF_INET6 sockaddr | |
./lib/hector/connection.rb:71:in `unpack_sockaddr_in' | |
./lib/hector/connection.rb:71:in `peer_info' | |
./lib/hector/connection.rb:62:in `address' | |
./lib/hector/connection.rb:75:in `log_tag' | |
./lib/hector/connection.rb:58:in `log' | |
./lib/hector/connection.rb:8:in `post_init' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:45:in `new' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `instance_eval' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `new' | |
./test/lib/hector/test_case.rb:10:in `connection' | |
./test/integration/connection_test.rb:15:in `test :"connecting with an invalid password should respond with a 464"' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run' | |
3) Error: | |
test :"connecting without specifying a password shouldn't create a session"(Hector::ConnectionTest): | |
ArgumentError: not an AF_INET/AF_INET6 sockaddr | |
./lib/hector/connection.rb:71:in `unpack_sockaddr_in' | |
./lib/hector/connection.rb:71:in `peer_info' | |
./lib/hector/connection.rb:62:in `address' | |
./lib/hector/connection.rb:75:in `log_tag' | |
./lib/hector/connection.rb:58:in `log' | |
./lib/hector/connection.rb:8:in `post_init' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:45:in `new' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `instance_eval' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `new' | |
./test/lib/hector/test_case.rb:10:in `connection' | |
./test/integration/connection_test.rb:6:in `test :"connecting without specifying a password shouldn't create a session"' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run' | |
4) Error: | |
test :"disconnecting frees the nickname for future use"(Hector::ConnectionTest): | |
ArgumentError: not an AF_INET/AF_INET6 sockaddr | |
./lib/hector/connection.rb:71:in `unpack_sockaddr_in' | |
./lib/hector/connection.rb:71:in `peer_info' | |
./lib/hector/connection.rb:62:in `address' | |
./lib/hector/connection.rb:75:in `log_tag' | |
./lib/hector/connection.rb:58:in `log' | |
./lib/hector/connection.rb:8:in `post_init' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:45:in `new' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `instance_eval' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `new' | |
./test/lib/hector/test_case.rb:10:in `connection' | |
./test/lib/hector/integration_test.rb:18:in `authenticated_connection' | |
./test/integration/connection_test.rb:75:in `test :"disconnecting frees the nickname for future use"' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run' | |
5) Error: | |
test :"disconnecting should destroy the session"(Hector::ConnectionTest): | |
ArgumentError: not an AF_INET/AF_INET6 sockaddr | |
./lib/hector/connection.rb:71:in `unpack_sockaddr_in' | |
./lib/hector/connection.rb:71:in `peer_info' | |
./lib/hector/connection.rb:62:in `address' | |
./lib/hector/connection.rb:75:in `log_tag' | |
./lib/hector/connection.rb:58:in `log' | |
./lib/hector/connection.rb:8:in `post_init' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:45:in `new' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `instance_eval' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `new' | |
./test/lib/hector/test_case.rb:10:in `connection' | |
./test/lib/hector/integration_test.rb:18:in `authenticated_connection' | |
./test/integration/connection_test.rb:58:in `test :"disconnecting should destroy the session"' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run' | |
6) Error: | |
test :"sending QUIT after registration should result in disconnection"(Hector::ConnectionTest): | |
ArgumentError: not an AF_INET/AF_INET6 sockaddr | |
./lib/hector/connection.rb:71:in `unpack_sockaddr_in' | |
./lib/hector/connection.rb:71:in `peer_info' | |
./lib/hector/connection.rb:62:in `address' | |
./lib/hector/connection.rb:75:in `log_tag' | |
./lib/hector/connection.rb:58:in `log' | |
./lib/hector/connection.rb:8:in `post_init' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:45:in `new' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `instance_eval' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `new' | |
./test/lib/hector/test_case.rb:10:in `connection' | |
./test/lib/hector/integration_test.rb:18:in `authenticated_connection' | |
./test/integration/connection_test.rb:51:in `test :"sending QUIT after registration should result in disconnection"' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run' | |
7) Error: | |
test :"sending a command after registration should forward it to the session"(Hector::ConnectionTest): | |
ArgumentError: not an AF_INET/AF_INET6 sockaddr | |
./lib/hector/connection.rb:71:in `unpack_sockaddr_in' | |
./lib/hector/connection.rb:71:in `peer_info' | |
./lib/hector/connection.rb:62:in `address' | |
./lib/hector/connection.rb:75:in `log_tag' | |
./lib/hector/connection.rb:58:in `log' | |
./lib/hector/connection.rb:8:in `post_init' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:45:in `new' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `instance_eval' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `new' | |
./test/lib/hector/test_case.rb:10:in `connection' | |
./test/lib/hector/integration_test.rb:18:in `authenticated_connection' | |
./test/integration/connection_test.rb:44:in `test :"sending a command after registration should forward it to the session"' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run' | |
8) Error: | |
test :"sending an unknown command before registration should result in immediate disconnection"(Hector::ConnectionTest): | |
ArgumentError: not an AF_INET/AF_INET6 sockaddr | |
./lib/hector/connection.rb:71:in `unpack_sockaddr_in' | |
./lib/hector/connection.rb:71:in `peer_info' | |
./lib/hector/connection.rb:62:in `address' | |
./lib/hector/connection.rb:75:in `log_tag' | |
./lib/hector/connection.rb:58:in `log' | |
./lib/hector/connection.rb:8:in `post_init' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:45:in `new' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `instance_eval' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `new' | |
./test/lib/hector/test_case.rb:10:in `connection' | |
./test/integration/connection_test.rb:35:in `test :"sending an unknown command before registration should result in immediate disconnection"' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run' | |
9) Error: | |
test :"two connections can't use the same nickname"(Hector::ConnectionTest): | |
ArgumentError: not an AF_INET/AF_INET6 sockaddr | |
./lib/hector/connection.rb:71:in `unpack_sockaddr_in' | |
./lib/hector/connection.rb:71:in `peer_info' | |
./lib/hector/connection.rb:62:in `address' | |
./lib/hector/connection.rb:75:in `log_tag' | |
./lib/hector/connection.rb:58:in `log' | |
./lib/hector/connection.rb:8:in `post_init' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:45:in `new' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `instance_eval' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `new' | |
./test/lib/hector/test_case.rb:10:in `connection' | |
./test/lib/hector/integration_test.rb:18:in `authenticated_connection' | |
./test/integration/connection_test.rb:65:in `test :"two connections can't use the same nickname"' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run' | |
10) Error: | |
test :"private messages can be sent between two sessions"(Hector::MessagingTest): | |
ArgumentError: not an AF_INET/AF_INET6 sockaddr | |
./lib/hector/connection.rb:71:in `unpack_sockaddr_in' | |
./lib/hector/connection.rb:71:in `peer_info' | |
./lib/hector/connection.rb:62:in `address' | |
./lib/hector/connection.rb:75:in `log_tag' | |
./lib/hector/connection.rb:58:in `log' | |
./lib/hector/connection.rb:8:in `post_init' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:45:in `new' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `instance_eval' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `new' | |
./test/lib/hector/test_case.rb:10:in `connection' | |
./test/lib/hector/integration_test.rb:18:in `authenticated_connection' | |
./test/integration/messaging_test.rb:6:in `test :"private messages can be sent between two sessions"' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run' | |
11) Error: | |
test :"sending a message to a nonexistent session should result in a 401"(Hector::MessagingTest): | |
ArgumentError: not an AF_INET/AF_INET6 sockaddr | |
./lib/hector/connection.rb:71:in `unpack_sockaddr_in' | |
./lib/hector/connection.rb:71:in `peer_info' | |
./lib/hector/connection.rb:62:in `address' | |
./lib/hector/connection.rb:75:in `log_tag' | |
./lib/hector/connection.rb:58:in `log' | |
./lib/hector/connection.rb:8:in `post_init' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:45:in `new' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `instance_eval' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `new' | |
./test/lib/hector/test_case.rb:10:in `connection' | |
./test/lib/hector/integration_test.rb:18:in `authenticated_connection' | |
./test/integration/messaging_test.rb:14:in `test :"sending a message to a nonexistent session should result in a 401"' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run' | |
12) Error: | |
test :"creating a session adds it to the session pool"(Hector::SessionTest): | |
ArgumentError: not an AF_INET/AF_INET6 sockaddr | |
./lib/hector/connection.rb:71:in `unpack_sockaddr_in' | |
./lib/hector/connection.rb:71:in `peer_info' | |
./lib/hector/connection.rb:62:in `address' | |
./lib/hector/connection.rb:75:in `log_tag' | |
./lib/hector/connection.rb:58:in `log' | |
./lib/hector/connection.rb:8:in `post_init' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:45:in `new' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `instance_eval' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `new' | |
./test/lib/hector/test_case.rb:10:in `connection' | |
./test/unit/session_test.rb:12:in `test :"creating a session adds it to the session pool"' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run' | |
13) Error: | |
test :"destroying a session removes it from the session pool"(Hector::SessionTest): | |
ArgumentError: not an AF_INET/AF_INET6 sockaddr | |
./lib/hector/connection.rb:71:in `unpack_sockaddr_in' | |
./lib/hector/connection.rb:71:in `peer_info' | |
./lib/hector/connection.rb:62:in `address' | |
./lib/hector/connection.rb:75:in `log_tag' | |
./lib/hector/connection.rb:58:in `log' | |
./lib/hector/connection.rb:8:in `post_init' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:45:in `new' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `instance_eval' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `new' | |
./test/lib/hector/test_case.rb:10:in `connection' | |
./test/unit/session_test.rb:22:in `test :"destroying a session removes it from the session pool"' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run' | |
14) Error: | |
test :"nicknames are case-insensitive"(Hector::SessionTest): | |
ArgumentError: not an AF_INET/AF_INET6 sockaddr | |
./lib/hector/connection.rb:71:in `unpack_sockaddr_in' | |
./lib/hector/connection.rb:71:in `peer_info' | |
./lib/hector/connection.rb:62:in `address' | |
./lib/hector/connection.rb:75:in `log_tag' | |
./lib/hector/connection.rb:58:in `log' | |
./lib/hector/connection.rb:8:in `post_init' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:45:in `new' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `instance_eval' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `new' | |
./test/lib/hector/test_case.rb:10:in `connection' | |
./test/unit/session_test.rb:46:in `test :"nicknames are case-insensitive"' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run' | |
15) Failure: | |
test :"nicknames must be valid"(Hector::SessionTest) | |
[./test/unit/session_test.rb:32:in `test :"nicknames must be valid"' | |
./test/unit/session_test.rb:31:in `each' | |
./test/unit/session_test.rb:31:in `test :"nicknames must be valid"' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run']: | |
<Hector::ErroneousNickname> exception expected but was | |
Class: <ArgumentError> | |
Message: <"not an AF_INET/AF_INET6 sockaddr"> | |
---Backtrace--- | |
./lib/hector/connection.rb:71:in `unpack_sockaddr_in' | |
./lib/hector/connection.rb:71:in `peer_info' | |
./lib/hector/connection.rb:62:in `address' | |
./lib/hector/connection.rb:75:in `log_tag' | |
./lib/hector/connection.rb:58:in `log' | |
./lib/hector/connection.rb:8:in `post_init' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:45:in `new' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `instance_eval' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `new' | |
./test/lib/hector/test_case.rb:10:in `connection' | |
./test/unit/session_test.rb:33:in `test :"nicknames must be valid"' | |
./test/unit/session_test.rb:32:in `test :"nicknames must be valid"' | |
./test/unit/session_test.rb:31:in `each' | |
./test/unit/session_test.rb:31:in `test :"nicknames must be valid"' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run' | |
--------------- | |
16) Error: | |
test :"nicknames preserve their original case"(Hector::SessionTest): | |
ArgumentError: not an AF_INET/AF_INET6 sockaddr | |
./lib/hector/connection.rb:71:in `unpack_sockaddr_in' | |
./lib/hector/connection.rb:71:in `peer_info' | |
./lib/hector/connection.rb:62:in `address' | |
./lib/hector/connection.rb:75:in `log_tag' | |
./lib/hector/connection.rb:58:in `log' | |
./lib/hector/connection.rb:8:in `post_init' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:45:in `new' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `instance_eval' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `new' | |
./test/lib/hector/test_case.rb:10:in `connection' | |
./test/unit/session_test.rb:53:in `test :"nicknames preserve their original case"' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run' | |
17) Error: | |
test :"two sessions can't have the same nickname"(Hector::SessionTest): | |
ArgumentError: not an AF_INET/AF_INET6 sockaddr | |
./lib/hector/connection.rb:71:in `unpack_sockaddr_in' | |
./lib/hector/connection.rb:71:in `peer_info' | |
./lib/hector/connection.rb:62:in `address' | |
./lib/hector/connection.rb:75:in `log_tag' | |
./lib/hector/connection.rb:58:in `log' | |
./lib/hector/connection.rb:8:in `post_init' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:45:in `new' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `instance_eval' | |
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `new' | |
./test/lib/hector/test_case.rb:10:in `connection' | |
./test/unit/session_test.rb:39:in `test :"two sessions can't have the same nickname"' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__' | |
/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run' | |
32 tests, 66 assertions, 1 failures, 16 errors | |
rake aborted! | |
Command failed with status (1): [/usr/bin/ruby1.8 -I"lib:test" "/usr/lib/ru...] | |
(See full trace by running task with --trace) | |
kurt@kurtix:~/Documents/Projects/hector$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment