Skip to content

Commit

Permalink
Adds a sleep for the jenkins test
Browse files Browse the repository at this point in the history
  • Loading branch information
petems committed Jan 17, 2015
1 parent 8a16f73 commit 1d9bbbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/acceptance/class_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@ class {'jenkins':

describe port(8080) do
it {
pending "Jenkins probably isn't running"
sleep(10) # Jenkins takes a while to start up
should be_listening
}
end
end

describe file('/usr/share/jenkins/jenkins-cli.jar') do
Expand All @@ -32,4 +31,5 @@ class {'jenkins':
it { should be_enabled }
end

end
end

0 comments on commit 1d9bbbf

Please sign in to comment.