summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTensibai <tensibai@iabis.net>2019-05-02 22:42:53 +0000
committerTensibai <tensibai@iabis.net>2019-05-02 22:42:53 +0000
commitc3e05f288f4463f53c29a009c1b9de4f19a80435 (patch)
tree3a6edb8370b20f20ea10589198df3c175e8dd9fe
parentfb4776ca9f8d8d12a15d0cd10451bae8b29ca185 (diff)
downloadchef-c3e05f288f4463f53c29a009c1b9de4f19a80435.tar.gz
One missed fix on functionnal test
Signed-off-by: Tensibai <tensibai@iabis.net>
-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 a098256d36..3d2efe703c 100644
--- a/spec/integration/solo/solo_spec.rb
+++ b/spec/integration/solo/solo_spec.rb
@@ -163,7 +163,7 @@ describe "chef-solo" do
ruby_block "sleeping" do
block do
retries = 200
- while IO.read(Chef::Config[:log_location]) !~ /.* client .* is running, will wait for it to finish and then run./
+ while IO.read(Chef::Config[:log_location]) !~ /.* is running, will wait for it to finish and then run./
sleep 0.1
raise "we ran out of retries" if ( retries -= 1 ) <= 0
end
@@ -207,7 +207,7 @@ describe "chef-solo" do
run_log = File.read(path_to("logs/runs.log"))
# second run should have a message which indicates it's waiting for the first run
- expect(run_log).to match(/.* client .* is running, will wait for it to finish and then run./)
+ expect(run_log).to match(/.* is running, will wait for it to finish and then run./)
# both of the runs should succeed
expect(run_log.lines.reject { |l| !l.include? "Run complete in" }.length).to eq(2)