Created
March 1, 2013 13:03
-
-
Save matschaffer/5064531 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
╭─@schaffer2.local ~/code/knife-solo ‹ruby-1.9.3› ‹command-messaging› | |
╰─ rake | |
Run options: --seed 59003 | |
# Running tests: | |
................................................F.................................. | |
Finished tests in 0.496384s, 167.2093 tests/s, 269.9523 assertions/s. | |
1) Failure: | |
test_barks_without_atleast_a_hostname(SoloCookTest) [/Users/mat/code/knife-solo/test/support/validation_helper.rb:13]: | |
[SystemExit] exception expected, not | |
Class: <NoMethodError> | |
Message: <"undefined method `split' for nil:NilClass"> | |
---Backtrace--- | |
/Users/mat/code/knife-solo/lib/knife-solo/ssh_command.rb:81:in `host_descriptor' | |
/Users/mat/code/knife-solo/lib/knife-solo/ssh_command.rb:93:in `host' | |
/Users/mat/code/knife-solo/lib/chef/knife/solo_cook.rb:63:in `block in run' | |
/Users/mat/code/knife-solo/lib/chef/knife/solo_cook.rb:126:in `time' | |
/Users/mat/code/knife-solo/lib/chef/knife/solo_cook.rb:62:in `run' | |
/Users/mat/code/knife-solo/test/support/test_case.rb:25:in `block in assert_exits' | |
--------------- | |
83 tests, 134 assertions, 1 failures, 0 errors, 0 skips | |
rake aborted! | |
Command failed with status (1): [ruby -I"lib:test" -I"/Users/mat/.rvm/gems/ruby-1.9.3-p327/gems/rake-10.0.3/lib" "/Users/mat/.rvm/gems/ruby-1.9.3-p327/gems/rake-10.0.3/lib/rake/rake_test_loader.rb" "test/bootstraps_test.rb" "test/deprecated_command_test.rb" "test/gitignore_test.rb" "test/node_config_command_test.rb" "test/solo_bootstrap_test.rb" "test/solo_clean_test.rb" "test/solo_cook_test.rb" "test/solo_init_test.rb" "test/solo_prepare_test.rb" "test/ssh_command_test.rb" ] | |
/Users/mat/.rvm/gems/ruby-1.9.3-p327/bin/ruby_noexec_wrapper:14:in `eval' | |
/Users/mat/.rvm/gems/ruby-1.9.3-p327/bin/ruby_noexec_wrapper:14:in `<main>' | |
Tasks: TOP => default => test => test:units | |
(See full trace by running task with --trace) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ah, I used #{host} in one of the messages. Looks like the test doesn't provide the data for that?