Skip to content
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

(MODULES-6686) Fix puppet_agent_spec tests for Windows #275

Merged
merged 1 commit into from
Feb 26, 2018

Conversation

glennsarti
Copy link
Contributor

Previously many tests in classes/puppet_agent_spec.rb were not running on
Windows due to a bug in rspec-puppet-facts. However in v1.9.0 of the gem it
now adds better windows support, but the puppet_agent_spec.rb began running
tests for Windows which then failed. This commit modifies the test fixtures and
logic to only test things which make sense on Windows.

Also voxpupuli/rspec-puppet-facts#68 meant that the
order of the testing had to be determinstic, ensuring that Windows platforms
were tested last.

Previously many tests in classes/puppet_agent_spec.rb were not running on
Windows due to a bug in rspec-puppet-facts.  However in v1.9.0 of the gem it
now adds better windows support, but the puppet_agent_spec.rb began running
tests for Windows which then failed.  This commit modifies the test fixtures and
logic to only test things which make sense on Windows.

Also voxpupuli/rspec-puppet-facts#68 meant that the
order of the testing had to be determinstic, ensuring that Windows platforms
were tested last.
@puppetcla
Copy link

CLA signed by all contributors.

@MikaelSmith MikaelSmith merged commit b71d946 into puppetlabs:master Feb 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants