New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(PUP-10524) Address spec failures when running with facter 4 #8165
(PUP-10524) Address spec failures when running with facter 4 #8165
Conversation
dc03ea9
to
d625643
Compare
d625643
to
51eb3a7
Compare
CLA signed by all contributors. |
@melissa this is great! The trace problem was fixed today in https://github.com/puppetlabs/facter-ng/pull/527/files The test that fail with the In order to fix the test we can add a before block to the test e.g
With the changes from this branch, the
|
@melissa I pushed the changes for |
@@ -4,6 +4,10 @@ | |||
if: Puppet.features.posix? && !Puppet::Util::Platform.jruby?do | |||
let(:provider_class) { Puppet::Type.type(:service).provider(:redhat) } | |||
|
|||
before(:all) do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @IrimieBogdan ! Could you add a comment to the code here explaining why we have to do this? I can see someone getting really confused a year from now as to why this is needed :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a comments describing the fix and why it is required.
CLA signed by all contributors. |
Fixes still required