Created
April 18, 2014 11:33
-
-
Save repeatedly/11039171 to your computer and use it in GitHub Desktop.
Cool.io spec failed with https://github.com/tarcieri/cool.io/pull/25 change
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
| Run options: exclude {:env=>:win} | |
| DNS | |
| connects to valid domains (FAILED - 1) | |
| fires on_resolve_failed for invalid domains | |
| Coolio::StatWatcher | |
| fire on_change when the file it is watching is modified | |
| should pass previous and current file stat info given a stat watcher | |
| should raise when the handler does not take 2 parameters | |
| Coolio::TimerWatcher | |
| can have the on_timer callback defined after creation | |
| can be subclassed | |
| can have the on_timer callback redefined between runs | |
| Failures: | |
| 1) DNS connects to valid domains | |
| Failure/Error: proc do | |
| expected ItWorked, got #<WontResolve: WontResolve> with backtrace: | |
| # ./spec/dns_spec.rb:15:in `on_resolve_failed' | |
| # ./lib/cool.io/socket.rb:205:in `on_failure' | |
| # ./lib/cool.io/dns_resolver.rb:103:in `on_timeout' | |
| # ./lib/cool.io/dns_resolver.rb:220:in `on_timer' | |
| # ./lib/cool.io/loop.rb:96:in `run_once' | |
| # ./lib/cool.io/loop.rb:96:in `run' | |
| # ./spec/dns_spec.rb:28:in `block (3 levels) in <top (required)>' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/built_in/raise_error.rb:40:in `call' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/built_in/raise_error.rb:40:in `matches?' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-expectations-2.14.5/lib/rspec/expectations/handler.rb:24:in `handle_matcher' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-expectations-2.14.5/lib/rspec/expectations/syntax.rb:53:in `should' | |
| # ./spec/dns_spec.rb:27:in `block (2 levels) in <top (required)>' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `instance_eval' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `block in run' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:254:in `with_around_each_hooks' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:111:in `run' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:390:in `block in run_examples' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `map' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `run_examples' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:371:in `run' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `map' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block in run' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:58:in `report' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:25:in `run' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-expectations-2.14.5/lib/rspec/expectations/fail_with.rb:32:in `fail_with' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-expectations-2.14.5/lib/rspec/expectations/handler.rb:36:in `handle_matcher' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-expectations-2.14.5/lib/rspec/expectations/syntax.rb:53:in `should' | |
| # ./spec/dns_spec.rb:27:in `block (2 levels) in <top (required)>' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `instance_eval' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:114:in `block in run' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:254:in `with_around_each_hooks' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.8/lib/rspec/core/example.rb:111:in `run' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:390:in `block in run_examples' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `map' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:386:in `run_examples' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb:371:in `run' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `map' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:28:in `block in run' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb:58:in `report' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:25:in `run' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run' | |
| # c:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun' | |
| Finished in 30.5 seconds | |
| 8 examples, 1 failure | |
| Failed examples: | |
| rspec ./spec/dns_spec.rb:24 # DNS connects to valid domains | |
| c:/Ruby200/bin/ruby.exe -S rspec ./spec/async_watcher_spec.rb ./spec/dns_spec.rb ./spec/stat_watcher_spec.rb ./spec/tcp_server_spec.rb ./spec/timer_watcher_spec.rb ./spec/unix_listener_spec.rb ./spec/unix_server_spec.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment