Closed johnmccrae closed 1 year ago
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
43.9% Duplication
Did you git cherry-pick
this (plus add the rescue
)? Or did you manually backport this change? If it's manual, I'd want to go through and have a 2nd person compare this very carefully. If you git cherry-pick
d and it was clean, then I'd say merge away.
Did you
git cherry-pick
this (plus add therescue
)? Or did you manually backport this change? If it's manual, I'd want to go through and have a 2nd person compare this very carefully. If yougit cherry-pick
d and it was clean, then I'd say merge away.
It was a manual change, since @johnmccrae found difference code base between main
and 16-stable
. We will take a relook before merging to avoid any human error.
Signed-off-by: John McCrae john.mccrae@progress.com Signed-off-by: Neha Pansare neha.pansare@progress.com
Description
This PR backports https://github.com/chef/ohai/pull/1741
This PR also fixes windows unit test CI failures for
16-stable
branch.Finished in 1 minute 14.42 seconds (files took 2.95 seconds to load) 1770 examples, 3 failures, 1 pending
Failed examples:
rspec './spec/unit/plugins/packages_spec.rb[1:4:1:1:1]' # Ohai::System plugin packages when on windows on 32 bit ruby behaves like windows_package_plugin gets package info rspec './spec/unit/plugins/packages_spec.rb[1:4:2:1:1]' # Ohai::System plugin packages when on windows on 64 bit ruby behaves like windows_package_plugin gets package info rspec './spec/unit/plugins/packages_spec.rb[1:4:3:1:1]' # Ohai::System plugin packages when on windows on unknown ruby behaves like windows_package_plugin gets package info