Created
November 6, 2011 20:16
-
-
Save grantr/1343408 to your computer and use it in GitHub Desktop.
This file contains 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
Celluloid::ZMQ::Mailbox | |
behaves like a Celluloid Mailbox | |
receives messages | |
raises system events when received | |
prioritizes system events over other messages | |
selectively receives messages with a block | |
DCell::Node | |
looks up remote actors (FAILED - 1) | |
Celluloid extensions | |
marshals Celluloid::ActorProxy objects (FAILED - 2) | |
marshals Celluloid::Mailbox objects | |
DCell::Directory | |
stores node addresses | |
Failures: | |
1) DCell::Node looks up remote actors | |
Failure/Error: Unable to find matching line from backtrace | |
NoMethodError: | |
undefined method `receive' for #<DCell::Node:0x4187a8e0> | |
# org/jruby/RubyBasicObject.java:1674:in `method_missing' | |
# /home/grantr/.rbenv/versions/jruby-1.6.4/lib/ruby/gems/1.9/bundler/gems/celluloid-3b363f00ef14/lib/celluloid.rb:152:in `method_missing' | |
# ./lib/dcell/node.rb:49:in `find' | |
# org/jruby/RubyBasicObject.java:1691:in `__send__' | |
# org/jruby/RubyKernel.java:2117:in `send' | |
# /home/grantr/.rbenv/versions/jruby-1.6.4/lib/ruby/gems/1.9/bundler/gems/celluloid-3b363f00ef14/lib/celluloid/calls.rb:40:in `dispatch' | |
# /home/grantr/.rbenv/versions/jruby-1.6.4/lib/ruby/gems/1.9/bundler/gems/celluloid-3b363f00ef14/lib/celluloid/actor.rb:128:in `handle_message' | |
2) Celluloid extensions marshals Celluloid::ActorProxy objects | |
Failure/Error: Marshal.load(string).should be_a(DCell::ActorProxy) | |
ArgumentError: | |
wrong number of arguments (1 for 2) | |
# ./lib/dcell/celluloid_ext.rb:36:in `_load' | |
# org/jruby/RubyMarshal.java:148:in `load' | |
# ./spec/dcell/celluloid_ext_spec.rb:13:in `(root)' | |
# org/jruby/RubyBasicObject.java:1717:in `instance_eval' | |
# /home/grantr/.rbenv/versions/jruby-1.6.4/lib/ruby/gems/1.9/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:51:in `run' | |
# /home/grantr/.rbenv/versions/jruby-1.6.4/lib/ruby/gems/1.9/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:110:in `with_around_hooks' | |
# /home/grantr/.rbenv/versions/jruby-1.6.4/lib/ruby/gems/1.9/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:48:in `run' | |
# /home/grantr/.rbenv/versions/jruby-1.6.4/lib/ruby/gems/1.9/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:306:in `run_examples' | |
# org/jruby/RubyArray.java:2344:in `collect' | |
# /home/grantr/.rbenv/versions/jruby-1.6.4/lib/ruby/gems/1.9/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:302:in `run_examples' | |
# /home/grantr/.rbenv/versions/jruby-1.6.4/lib/ruby/gems/1.9/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:274:in `run' | |
# /home/grantr/.rbenv/versions/jruby-1.6.4/lib/ruby/gems/1.9/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:24:in `run' | |
# org/jruby/RubyArray.java:2344:in `collect' | |
# /home/grantr/.rbenv/versions/jruby-1.6.4/lib/ruby/gems/1.9/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:24:in `run' | |
# /home/grantr/.rbenv/versions/jruby-1.6.4/lib/ruby/gems/1.9/gems/rspec-core-2.7.1/lib/rspec/core/reporter.rb:12:in `report' | |
# /home/grantr/.rbenv/versions/jruby-1.6.4/lib/ruby/gems/1.9/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:21:in `run' | |
# /home/grantr/.rbenv/versions/jruby-1.6.4/lib/ruby/gems/1.9/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:80:in `run_in_process' | |
# /home/grantr/.rbenv/versions/jruby-1.6.4/lib/ruby/gems/1.9/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:69:in `run' | |
# /home/grantr/.rbenv/versions/jruby-1.6.4/lib/ruby/gems/1.9/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:10:in `autorun' | |
Finished in 2.99 seconds | |
8 examples, 2 failures | |
Failed examples: | |
rspec ./spec/dcell/node_spec.rb:24 # DCell::Node looks up remote actors | |
rspec ./spec/dcell/celluloid_ext_spec.rb:11 # Celluloid extensions marshals Celluloid::ActorProxy objects |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment