public
Created

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143
~/Projects/rubinius-actor[master]: rspec spec/
****F.**FF***.*FF..*********
 
Pending:
Actor#<< needs to be reviewed for spec completeness
# Not Yet Implemented
# ./spec/lib/append_spec.rb:5
Actor.current needs to be reviewed for spec completeness
# Not Yet Implemented
# ./spec/lib/current_spec.rb:5
Actor#handle_error needs to be reviewed for spec completeness
# Not Yet Implemented
# ./spec/lib/handle_error_spec.rb:5
Actor#initialize needs to be reviewed for spec completeness
# Not Yet Implemented
# ./spec/lib/initialize_spec.rb:5
Actor.lookup needs to be reviewed for spec completeness
# Not Yet Implemented
# ./spec/lib/lookup_spec.rb:5
Actor.new needs to be reviewed for spec completeness
# Not Yet Implemented
# ./spec/lib/new_spec.rb:5
Actor#notify_link needs to be reviewed for spec completeness
# Not Yet Implemented
# ./spec/lib/notify_link_spec.rb:5
Actor#notify_unlink needs to be reviewed for spec completeness
# Not Yet Implemented
# ./spec/lib/notify_unlink_spec.rb:5
Actor.receive needs to be reviewed for spec completeness
# Not Yet Implemented
# ./spec/lib/receive_spec.rb:5
Actor#send needs to be reviewed for spec completeness
# Not Yet Implemented
# ./spec/lib/send_spec.rb:5
Actor.unregister needs to be reviewed for spec completeness
# Not Yet Implemented
# ./spec/lib/unregister_spec.rb:5
Actor::Filter.__class_init__ needs to be reviewed for spec completeness
# Not Yet Implemented
# ./spec/lib/filter/__class_init___spec.rb:5
Actor::Filter#action_for needs to be reviewed for spec completeness
# Not Yet Implemented
# ./spec/lib/filter/action_for_spec.rb:5
Actor::Filter#after needs to be reviewed for spec completeness
# Not Yet Implemented
# ./spec/lib/filter/after_spec.rb:5
Actor::Filter#initialize needs to be reviewed for spec completeness
# Not Yet Implemented
# ./spec/lib/filter/initialize_spec.rb:5
Actor::Filter#timeout_action needs to be reviewed for spec completeness
# Not Yet Implemented
# ./spec/lib/filter/timeout_action_spec.rb:5
Actor::Filter#timeout needs to be reviewed for spec completeness
# Not Yet Implemented
# ./spec/lib/filter/timeout_spec.rb:5
Actor::Filter#timeout? needs to be reviewed for spec completeness
# Not Yet Implemented
# ./spec/lib/filter/timeout_spec.rb:9
Actor::Filter#when needs to be reviewed for spec completeness
# Not Yet Implemented
# ./spec/lib/filter/when_spec.rb:5
 
Failures:
 
1) Actor.link sends an exit message to linked Actors
Failure/Error: msgs[0][0].should == :exit
NoMethodError:
undefined method `[]' on an instance of Rubinius::Actor::DeadActorError.
# kernel/delta/kernel.rb:79:in `[] (method_missing)'
# ./spec/lib/link_spec.rb:27:in `__script__'
# kernel/common/eval.rb:120:in `instance_eval'
# kernel/bootstrap/array18.rb:16:in `map'
# kernel/bootstrap/array18.rb:16:in `map'
 
2) Actor#notify_exited kills actors not trapping exits
Failure/Error: ex.should be_an_instance_of(Actor::DeadActorError)
expected nil to be an instance of Rubinius::Actor::DeadActorError
# ./spec/lib/notify_exited_spec.rb:19:in `__script__'
# kernel/common/eval.rb:120:in `instance_eval'
# kernel/bootstrap/array18.rb:16:in `map'
# kernel/bootstrap/array18.rb:16:in `map'
 
3) Actor#notify_exited delivers a message to an actor trapping exits
Failure/Error: ex.should be_an_instance_of(Actor::DeadActorError)
expected nil to be an instance of Rubinius::Actor::DeadActorError
# ./spec/lib/notify_exited_spec.rb:39:in `__script__'
# kernel/common/eval.rb:120:in `instance_eval'
# kernel/bootstrap/array18.rb:16:in `map'
# kernel/bootstrap/array18.rb:16:in `map'
 
4) Actor.spawn_link sends an exit message to linked Actors
Failure/Error: msg[0].should == :exit
expected: :exit
got: nil (using ==)
# ./spec/lib/spawn_link_spec.rb:19:in `__script__'
# kernel/common/eval.rb:120:in `instance_eval'
# kernel/bootstrap/array18.rb:16:in `map'
# kernel/bootstrap/array18.rb:16:in `map'
 
5) Actor.spawn creates functioning actors
Failure/Error: NUM_ACTORS.times { |i| results << Actor.receive }
Rubinius::Actor::DeadActorError:
An exception occurred running at_exit handlers
private method `split' called on an instance of RuntimeError. (NoMethodError)
 
Backtrace:
Kernel(RuntimeError)#split (method_missing) at kernel/delta/kernel.rb:79
RSpec::Core::Formatters::BaseTextFormatter(RSpec::Core::Formatters::ProgressFormatter)#dump_failure at \
/Users/mrb/.rvm/gems/rbx-2.0.0pre/gems/rspec-core-2.6.4/lib/rspec/core/formatters/base_text_formatter.rb:163
{ } in RSpec::Core::Formatters::BaseTextFormatter(RSpec::Core::Formatters::ProgressFormatter)#dump_failures at \
/Users/mrb/.rvm/gems/rbx-2.0.0pre/gems/rspec-core-2.6.4/lib/rspec/core/formatters/base_text_formatter.rb:19
{ } in Enumerable(Array)#each_with_index at kernel/common/enumerable.rb:421
Array#each at kernel/bootstrap/array.rb:66
Enumerable(Array)#each_with_index at kernel/common/enumerable.rb:420
RSpec::Core::Formatters::BaseTextFormatter(RSpec::Core::Formatters::ProgressFormatter)#dump_failures at \
/Users/mrb/.rvm/gems/rbx-2.0.0pre/gems/rspec-core-2.6.4/lib/rspec/core/formatters/base_text_formatter.rb:17
{ } in RSpec::Core::Reporter#notify at /Users/mrb/.rvm/gems/rbx-2.0.0pre/gems
/rspec-core-2.6.4/lib/rspec/core
/reporter.rb:75
Array#each at kernel/bootstrap/array.rb:66
RSpec::Core::Reporter#notify at /Users/mrb/.rvm/gems/rbx-2.0.0pre/gems
/rspec-core-2.6.4/lib/rspec/core
/reporter.rb:74
RSpec::Core::Reporter#finish at /Users/mrb/.rvm/gems/rbx-2.0.0pre/gems
/rspec-core-2.6.4/lib/rspec/core
/reporter.rb:23
RSpec::Core::Reporter#report at /Users/mrb/.rvm/gems/rbx-2.0.0pre/gems
/rspec-core-2.6.4/lib/rspec/core
/reporter.rb:14
RSpec::Core::CommandLine#run at /Users/mrb/.rvm/gems/rbx-2.0.0pre/gems
/rspec-core-2.6.4/lib/rspec/core
/command_line.rb:21
RSpec::Core::Runner.run_in_process at /Users/mrb/.rvm/gems/rbx-2.0.0pre/gems
/rspec-core-2.6.4/lib/rspec/core
/runner.rb:80
RSpec::Core::Runner.run at /Users/mrb/.rvm/gems/rbx-2.0.0pre/gems
/rspec-core-2.6.4/lib/rspec/core
/runner.rb:69
{ } in RSpec::Core::Runner.autorun at /Users/mrb/.rvm/gems/rbx-2.0.0pre/gems
/rspec-core-2.6.4/lib/rspec/core
/runner.rb:11
Rubinius::Loader#epilogue at kernel/loader.rb:644
Rubinius::Loader#main at kernel/loader.rb:777

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.