summaryrefslogtreecommitdiff
path: root/spec/acceptance/beaker/git/shallow_clone/negative/shallow_clone_http.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/acceptance/beaker/git/shallow_clone/negative/shallow_clone_http.rb')
-rw-r--r--spec/acceptance/beaker/git/shallow_clone/negative/shallow_clone_http.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/acceptance/beaker/git/shallow_clone/negative/shallow_clone_http.rb b/spec/acceptance/beaker/git/shallow_clone/negative/shallow_clone_http.rb
index ecd51ad..956d7de 100644
--- a/spec/acceptance/beaker/git/shallow_clone/negative/shallow_clone_http.rb
+++ b/spec/acceptance/beaker/git/shallow_clone/negative/shallow_clone_http.rb
@@ -26,7 +26,7 @@ hosts.each do |host|
teardown do
on(host, "rm -fr #{tmpdir}")
- on(host, 'ps ax | grep "#{ruby} /tmp/http_daemon.rb" | grep -v grep | awk \'{print "kill -9 " $1}\' | sh')
+ on(host, 'ps ax | grep "#{ruby} /tmp/http_daemon.rb" | grep -v grep | awk \'{print "kill -9 " $1}\' | sh ; sleep 1')
end
step 'shallow clone repo with puppet' do
@@ -39,8 +39,7 @@ hosts.each do |host|
}
EOS
- apply_manifest_on(host, pp)
- apply_manifest_on(host, pp)
+ apply_manifest_on(host, pp, :expect_failures => true)
end
step 'git does not support shallow clone via HTTP: verify checkout is NOT created' do