From 73fa7fbd484473bc03fc1be916af35f941999a9a Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Fri, 23 Jun 2017 10:19:10 -0700 Subject: more timing Signed-off-by: Lamont Granquist --- spec/functional/resource/msu_package_spec.rb | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/spec/functional/resource/msu_package_spec.rb b/spec/functional/resource/msu_package_spec.rb index 640c3aa855..7190b2114e 100644 --- a/spec/functional/resource/msu_package_spec.rb +++ b/spec/functional/resource/msu_package_spec.rb @@ -41,7 +41,11 @@ describe Chef::Resource::MsuPackage, :win2012r2_only do end context "installing package" do - after { remove_package } + after do + puts Benchmark.measure { + remove_package + } + end it "installs the package successfully" do puts Benchmark.measure { @@ -54,7 +58,9 @@ describe Chef::Resource::MsuPackage, :win2012r2_only do context "removing a package" do it "removes an installed package" do - subject.run_action(:install) + puts Benchmark.measure { + subject.run_action(:install) + } puts Benchmark.measure { remove_package } -- cgit v1.2.1