-
Notifications
You must be signed in to change notification settings - Fork 328
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
Difference in handling apply_manifest(pp, :expect_failures => true) #146
Comments
did some checking together with 'ashp' on IRC. |
Solved it for now by limiting tests based on the puppetversion fact. |
From the apply_manifest code:
From our code, a return value on failure is 1,4,6 while a return value of 2 indicates a change was made to the machine configuration. |
Im applying a manifest and i expect it to fail.
With the help of @hunner i've set the run to this:
apply_manifest(pp, :expect_failures => true)
On puppet 2.7 and 3.1 i get the following:
On Puppet 3.2/3.3/3.4 it works as expected and flags the test as passed ( as I'm expecting it to fail )
Can give more details via IRC.
The text was updated successfully, but these errors were encountered: