summaryrefslogtreecommitdiff
path: root/spec/acceptance/beaker/git/shallow_clone/shallow_clone_git.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/acceptance/beaker/git/shallow_clone/shallow_clone_git.rb')
-rw-r--r--spec/acceptance/beaker/git/shallow_clone/shallow_clone_git.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/acceptance/beaker/git/shallow_clone/shallow_clone_git.rb b/spec/acceptance/beaker/git/shallow_clone/shallow_clone_git.rb
index d7c81fb..ab3bd07 100644
--- a/spec/acceptance/beaker/git/shallow_clone/shallow_clone_git.rb
+++ b/spec/acceptance/beaker/git/shallow_clone/shallow_clone_git.rb
@@ -18,7 +18,7 @@ hosts.each do |host|
teardown do
on(host, "rm -fr #{tmpdir}")
- on(host, 'pkill -9 git-daemon')
+ on(host, 'pkill -9 git-daemon ; sleep 1')
end
step 'shallow clone repo with puppet' do
@@ -31,8 +31,8 @@ hosts.each do |host|
}
EOS
- apply_manifest_on(host, pp)
- apply_manifest_on(host, pp)
+ apply_manifest_on(host, pp, :catch_failures => true)
+ apply_manifest_on(host, pp, :catch_changes => true)
end
step 'verify checkout is shallow and of the correct depth' do