summaryrefslogtreecommitdiff
path: root/spec/integration
diff options
context:
space:
mode:
authorsersut <serdar@opscode.com>2013-10-18 11:30:39 -0700
committersersut <serdar@opscode.com>2013-10-18 11:30:39 -0700
commitd1c6f1b0189792a79ceafe9f3d4acfa2194d4457 (patch)
tree3478d8135720a2b944ccca37ffe29a7eeb3d0b4f /spec/integration
parent32b27216221410b4ff4c47ff0cc0aac9c943ff77 (diff)
downloadchef-d1c6f1b0189792a79ceafe9f3d4acfa2194d4457.tar.gz
Increase the length of the first run and decrease the wait before launching the second to make sure they overlap during the test.
Diffstat (limited to 'spec/integration')
-rw-r--r--spec/integration/solo/solo_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/integration/solo/solo_spec.rb b/spec/integration/solo/solo_spec.rb
index 9d2a391477..215c110d3e 100644
--- a/spec/integration/solo/solo_spec.rb
+++ b/spec/integration/solo/solo_spec.rb
@@ -31,7 +31,7 @@ EOM
file 'cookbooks/x/recipes/default.rb', <<EOM
ruby_block "sleeping" do
block do
- sleep 3
+ sleep 5
end
end
EOM
@@ -52,7 +52,7 @@ EOM
-l debug -L #{path_to('logs/runs.log')}", :chdir => chef_dir)
# Give it some time to progress
- sleep 3
+ sleep 1
# Instantiate the second chef-solo run
s2 = Process.spawn("chef-solo -c \"#{path_to('config/solo.rb')}\" -o 'x::default' \