[Bug 532299] [NEW] Unit test failure: test_check_is_called(TestResources)

Mathias Gug mathiaz at ubuntu.com
Thu Mar 4 23:39:30 GMT 2010


Public bug reported:

Binary package hint: puppet

While trying to run the puppet test suite on Lucid, the following test
failed:

 23) Failure:
test_check_is_called(TestResources)
    [./ral/type/resources.rb:181:in `test_check_is_called'
     /usr/lib/ruby/1.8/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__'
     /usr/lib/ruby/1.8/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run']:
Exception raised:
Class: <NoMethodError>
Message: <"undefined method `resources' for nil:NilClass">
---Backtrace---
/usr/lib/ruby/1.8/puppet/type/resources.rb:102:in `generate'
/usr/lib/ruby/1.8/puppet/type/resources.rb:101:in `reject'
/usr/lib/ruby/1.8/puppet/type/resources.rb:101:in `generate'
./ral/type/resources.rb:181:in `test_check_is_called'
./ral/type/resources.rb:181:in `test_check_is_called'
/usr/lib/ruby/1.8/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__'
/usr/lib/ruby/1.8/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run'
---------------

http://projects.reductivelabs.com/issues/3342

** Affects: puppet (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Unit test failure: test_check_is_called(TestResources)
https://bugs.launchpad.net/bugs/532299
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to puppet in ubuntu.



More information about the Ubuntu-server-bugs mailing list