diff options
-rw-r--r-- | spec/functional/resource/msu_package_spec.rb | 10 |
1 files 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 } |