From b112b837d5a93764cc970f7ecce3796846c02f1a Mon Sep 17 00:00:00 2001 From: David Schmitt Date: Mon, 10 Oct 2016 17:58:21 +0100 Subject: 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. --- Gemfile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Gemfile') diff --git a/Gemfile b/Gemfile index ecf3d06..0a7542d 100644 --- a/Gemfile +++ b/Gemfile @@ -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' -- cgit v1.2.3