Bug #3310
Unit tests error:test_userngroup: Global resource removal is deprecated
| Status: | Accepted | Start date: | 02/27/2010 | |
|---|---|---|---|---|
| Priority: | Low | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | testing | |||
| Target version: | - | |||
| Affected Puppet version: | 0.25.4 | Branch: | ||
| Keywords: | ||||
| Votes: | 0 |
Description
While running the puppet test suite on Ubuntu Lucid the following error was reported:
6) Error:
test_userngroup(TestExec):
RuntimeError: Global resource removal is deprecated
/usr/lib/ruby/1.8/puppet/type.rb:941:in `clear'
/usr/lib/ruby/1.8/puppet/metatype/manager.rb:13:in `allclear'
/usr/lib/ruby/1.8/puppet/metatype/manager.rb:12:in `each'
/usr/lib/ruby/1.8/puppet/metatype/manager.rb:12:in `allclear'
./ral/type/exec.rb:354:in `mknverify'
./ral/type/exec.rb:367:in `test_userngroup'
./ral/type/exec.rb:360:in `each'
./ral/type/exec.rb:360:in `test_userngroup'
/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'
Related issues
History
Updated by Markus Roberts almost 2 years ago
Note that this error is in the older unit tests not the current spec/unit tests. The correct resolution is to bring the tests up to date (#2969).
Updated by Markus Roberts almost 2 years ago
- Category set to testing
- Status changed from Unreviewed to Accepted
- Priority changed from Normal to Low