diff options
author | David Schmitt <david.schmitt@puppet.com> | 2016-10-10 17:58:21 +0100 |
---|---|---|
committer | David Schmitt <david.schmitt@puppet.com> | 2016-10-10 17:58:21 +0100 |
commit | b112b837d5a93764cc970f7ecce3796846c02f1a (patch) | |
tree | 23bf6134f4300231c0a76826f72d6dc3ccbb0006 | |
parent | c2dd2898f2d965614d9fa0ccc5ade57df910f800 (diff) |
Apply workaround to hanging facter tests
Apparently mocha 1.2.0 causes an endless hang
on spec/unit/facter/root_home_spec.rb. Forcing
an earlier version avoids this for now.
-rw-r--r-- | Gemfile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -22,6 +22,8 @@ group :development, :unit_tests do gem 'puppet-blacksmith', '>= 3.4.0' gem 'puppetlabs_spec_helper', '>= 1.2.1' gem 'rspec-puppet', '>= 2.3.2', :git => 'https://github.com/rodjek/rspec-puppet.git', :branch => 'fb27c533e2664057fba4b73d0bd902a946abfce0' + # the newly released mocha 1.2.0 causes hangs during spec testing. See MODULES-3958 for a long-term solution + gem 'mocha', '< 1.2.0' gem 'rspec-puppet-facts' gem 'simplecov' gem 'parallel_tests' |