Created
April 13, 2013 23:06
-
-
Save raphink/5380522 to your computer and use it in GitHub Desktop.
First tests with mspectator
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
F.FFF.F | |
Failures: | |
1) c2c_wrk | |
Failure/Error: it { should find_nodes(10).or_more } | |
expected to find 10 nodes or more using agent 'rpcutil', but found 5 instead. | |
# ./spec/localhost/wrk_spec.rb:4 | |
2) c2c_wrk | |
Failure/Error: it { should_not have_package('ssh') } | |
expected that no hosts would have the ssh package, but found hosts with it: | |
wrk4 | |
# ./spec/localhost/wrk_spec.rb:6 | |
3) c2c_wrk | |
Failure/Error: it { should have_package('sshd') } | |
expected that all hosts would have the sshd package, but found hosts without it: | |
wrk4 | |
# ./spec/localhost/wrk_spec.rb:7 | |
4) c2c_wrk c2c_wrk and lsbdistcodename=quantal | |
Failure/Error: it { should find_nodes(2).with_agent('spec') } | |
expected to find 2 nodes using agent 'spec', but found 1 instead. | |
# ./spec/localhost/wrk_spec.rb:10 | |
5) c2c_wrk when using an ssd on Ubuntu | |
Failure/Error: it { should find_nodes(2).with_agent('spec') } | |
expected to find 2 nodes using agent 'spec', but found 1 instead. | |
# ./spec/localhost/wrk_spec.rb:17 | |
Finished in 15.85 seconds | |
7 examples, 5 failures | |
Failed examples: | |
rspec ./spec/localhost/wrk_spec.rb:4 # c2c_wrk | |
rspec ./spec/localhost/wrk_spec.rb:6 # c2c_wrk | |
rspec ./spec/localhost/wrk_spec.rb:7 # c2c_wrk | |
rspec ./spec/localhost/wrk_spec.rb:10 # c2c_wrk c2c_wrk and lsbdistcodename=quantal | |
rspec ./spec/localhost/wrk_spec.rb:17 # c2c_wrk when using an ssd on Ubuntu |
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
require 'spec_helper' | |
describe 'c2c_wrk' do | |
it { should find_nodes(10).or_more } | |
it { should have_package('ssh') } | |
it { should_not have_package('ssh') } | |
it { should have_package('sshd') } | |
context 'c2c_wrk and lsbdistcodename=quantal' do | |
it { should find_nodes(2).with_agent('spec') } | |
it { should have_package('puppet') } | |
end | |
context 'when using an ssd on Ubuntu', | |
:classes => ['c2c_wrk::ssd'], | |
:facts => {:operatingsystem => 'Ubuntu' } do | |
it { should find_nodes(2).with_agent('spec') } | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment