[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, experimental, updated. debian/2.6.8-1-844-g7ec39d5

Daniel Pittman daniel at puppetlabs.com
Tue May 10 08:11:37 UTC 2011


The following commit has been merged in the experimental branch:
commit 79f4774182046d2fdf392c1eb27ee78505659199
Author: Daniel Pittman <daniel at puppetlabs.com>
Date:   Thu Apr 7 16:28:09 2011 -0700

    maint: mocking 'require' causes random stack-overflow failures.
    
    It turns out that mocking require on objects can cause random "stack depth
    exceeded" failures, usually triggered by otherwise innocent changes to load
    order or the use of require in the rest of the code.
    
    Disable the currently failing test, which needs rewriting, and let it go for
    now.  We need to systematically purge these problems once the build is stable.
    
    Paired-With: Dan Bode <dan at puppetlabs.com>

diff --git a/spec/unit/interface_spec.rb b/spec/unit/interface_spec.rb
index afcf95d..ea11b21 100755
--- a/spec/unit/interface_spec.rb
+++ b/spec/unit/interface_spec.rb
@@ -77,6 +77,7 @@ describe Puppet::Interface do
   end
 
   it "should try to require faces that are not known" do
+    pending "mocking require causes random stack overflow"
     subject::FaceCollection.expects(:require).with "puppet/faces/foo"
     subject[:foo, '0.0.1']
   end

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list