Issue #3309 has been updated by Josh Cooper.

Status changed from Accepted to Closed

All of the old unit tests were deleted or converted to spec tests in #2969, so 
this is no longer an issue.
----------------------------------------
Bug #3309: Unit tests error: NoMethodError: Internal error: The :group setting 
for  must be 'service'
https://projects.puppetlabs.com/issues/3309#change-65928

Author: Mathias Gug
Status: Closed
Priority: Low
Assignee: 
Category: testing
Target version: 
Affected Puppet version: 0.25.4
Keywords: 
Branch: 


While trying to run the puppet unittest on Ubuntu Lucid the following error was 
thrown:

28) Error:
    test_mkdir(TestSettings):
     Puppet::Util::Settings::FileSetting::SettingError: Internal error: The 
:group setting for  must be 'service', not 'daemon'
    /usr/lib/ruby/1.8/puppet/util/settings/file_setting.rb:20:in `group='
    /usr/lib/ruby/1.8/puppet/util/settings/setting.rb:44:in `send'
    /usr/lib/ruby/1.8/puppet/util/settings/setting.rb:44:in `initialize'
    /usr/lib/ruby/1.8/puppet/util/settings/setting.rb:38:in `each'
    /usr/lib/ruby/1.8/puppet/util/settings/setting.rb:38:in `initialize'
    /usr/lib/ruby/1.8/puppet/util/settings.rb:405:in `new'
    /usr/lib/ruby/1.8/puppet/util/settings.rb:405:in `newsetting'
    /usr/lib/ruby/1.8/puppet/util/settings.rb:538:in `setdefaults'
    /usr/lib/ruby/1.8/puppet/util/settings.rb:523:in `each'
    /usr/lib/ruby/1.8/puppet/util/settings.rb:523:in `setdefaults'
    ./util/settings.rb:407:in `test_mkdir'
    
/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'

There are similar other errors in other tests:

 * test_no_modify_root(TestSettings):
 * test_writingfiles(TestSettings):

I've attached the complete log file.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to