Skip to content

Instantly share code, notes, and snippets.

@suma
Created January 7, 2015 07:23
Show Gist options
  • Save suma/0b28f5465c4b5adb6cde to your computer and use it in GitHub Desktop.
Save suma/0b28f5465c4b5adb6cde to your computer and use it in GitHub Desktop.
msgpack-rpc-ruby rake spec
suma@debian-sid-suma:~/repos/msgpack-rpc-ruby$ rake spec
/home/suma/.rbenv/versions/2.2.0/bin/ruby -I/home/suma/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/rspec-support-3.1.2/lib:/home/suma/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/rspec-core-3.1.7/lib /home/suma/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/rspec-core-3.1.7/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb
Run options: include {:focus=>true}
All examples were filtered out; ignoring {:focus=>true}
.
An error occurred in an `after(:context)` hook.
NoMethodError: undefined method `close' for nil:NilClass
occurred at /home/suma/repos/msgpack-rpc-ruby/spec/unit/client_spec.rb:105:in `block (2 levels) in <top (required)>'
...........F
An error occurred in an `after(:context)` hook.
NoMethodError: undefined method `close' for nil:NilClass
occurred at /home/suma/repos/msgpack-rpc-ruby/spec/unit/client_spec.rb:140:in `block (2 levels) in <top (required)>'
Failures:
1) MessagePack::RPC::Loop testing should return correct values when you use MessagePack::RPC::Loop
Failure/Error: @svr.listen("0.0.0.0", MyServer.port, MyServer.new(@svr))
Errno::EADDRINUSE:
Address already in use - bind(2) for "0.0.0.0" port 65511
# ./lib/msgpack/rpc/transport/tcp.rb:202:in `new'
# ./lib/msgpack/rpc/transport/tcp.rb:202:in `listen'
# ./lib/msgpack/rpc/server.rb:65:in `listen'
# ./spec/unit/client_spec.rb:116:in `block (2 levels) in <top (required)>'
Finished in 5.03 seconds (files took 0.13523 seconds to load)
13 examples, 1 failure
Failed examples:
rspec ./spec/unit/client_spec.rb:123 # MessagePack::RPC::Loop testing should return correct values when you use MessagePack::RPC::Loop
Randomized with seed 46700
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment