diff options
author | Tim Smith <tsmith@chef.io> | 2020-11-04 17:01:07 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-04 17:01:07 -0800 |
commit | f2983e3fd5f741b0ac708940a3bf4116e3f17210 (patch) | |
tree | 9107100f72917982344a7e8231f8fbf0d838a47c | |
parent | 5a2b4dd104a874a2907ab892a9b04349c7bf09ef (diff) | |
parent | 1ad7ec792ecec0bb384415068dbfcf39681e49a9 (diff) | |
download | ohai-f2983e3fd5f741b0ac708940a3bf4116e3f17210.tar.gz |
Merge pull request #1556 from chef/speedup
Speedup the slowest spec by running fewer plugins
-rw-r--r-- | spec/unit/system_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/unit/system_spec.rb b/spec/unit/system_spec.rb index 9d02f1e7..1e72c2c7 100644 --- a/spec/unit/system_spec.rb +++ b/spec/unit/system_spec.rb @@ -407,6 +407,8 @@ describe "Ohai::System" do E it "runs all the plugins" do + # disable a few slow running plugins + Ohai.config[:disabled_plugins] = %i{Packages Virtualbox Ruby} ohai.run_additional_plugins(@plugins_directory) expect(ohai.data[:canteloupe][:english][:version]).to eq(2014) expect(ohai.data[:canteloupe][:french][:version]).to eq(2012) |