summaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authorDavid Schmitt <david.schmitt@puppet.com>2016-10-10 17:58:21 +0100
committerDavid Schmitt <david.schmitt@puppet.com>2016-10-10 17:58:21 +0100
commitb112b837d5a93764cc970f7ecce3796846c02f1a (patch)
tree23bf6134f4300231c0a76826f72d6dc3ccbb0006 /Gemfile
parentc2dd2898f2d965614d9fa0ccc5ade57df910f800 (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.
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile2
1 files changed, 2 insertions, 0 deletions
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'