Issue #2316 has been reported by Luke Kanies.
----------------------------------------
Bug #2316: Some tests were broken in previous work
http://projects.reductivelabs.com/issues/2316
Author: Luke Kanies
Status: Accepted
Priority: Normal
Assigned to: Luke Kanies
Category: testing
Target version: 0.25.0
Complexity: Unknown
Affected version: 0.24.8
Keywords:
Oops:
<pre>
14)
Mocha::ExpectationError in 'Puppet::Type::File::ParameterSource when copying
the source values and the source is a file should copy the metadata's owner,
group, and mode to the resource if they are set to :absent on the resource'
unexpected invocation: #<Mock:catalog>.dependent_data_expired?(Mon Jun 01
17:56:16 -0500 2009 (1243896976.06485 secs))
unsatisfied expectations:
- expected exactly once, not yet invoked: #<Mock:resource>.[]=(:checksum,
'{md5}asdfasdf')
- expected exactly once, not yet invoked: #<Mock:resource>.[]=(:mode, 123)
- expected exactly once, not yet invoked: #<Mock:resource>.[]=(:group, 200)
- expected exactly once, not yet invoked: #<Mock:resource>.[]=(:owner, 100)
- expected exactly once, not yet invoked:
Puppet::Util::SUIDManager.uid(any_parameters)
satisfied expectations:
- allowed any number of times, not yet invoked:
#<Mock:catalog>.expired?(any_parameters)
- allowed any number of times, not yet invoked:
#<Mock:resource>.[](any_parameters)
- allowed any number of times, not yet invoked:
#<Mock:resource>.deleting?(any_parameters)
- allowed any number of times, not yet invoked:
#<Mock:resource>.property(any_parameters)
- allowed any number of times, already invoked twice:
#<Mock:resource>.catalog(any_parameters)
- allowed any number of times, not yet invoked:
#<Mock:resource>.[]=(any_parameters)
- allowed any number of times, not yet invoked:
#<Mock:metadata>.ftype(any_parameters)
- allowed any number of times, not yet invoked:
#<Mock:metadata>.group(any_parameters)
- allowed any number of times, not yet invoked:
#<Mock:metadata>.owner(any_parameters)
- allowed any number of times, not yet invoked:
#<Mock:metadata>.mode(any_parameters)
- allowed any number of times, not yet invoked:
#<Mock:metadata>.checksum(any_parameters)
/Users/luke/git/puppet/lib/puppet/util/cacher.rb:115:in `expired_by_expirer?'
/Users/luke/git/puppet/lib/puppet/util/cacher.rb:99:in `cached_value'
/Users/luke/git/puppet/lib/puppet/util/cacher.rb:46:in `metadata'
/Users/luke/git/puppet/spec/../lib/puppet/type/file/source.rb:115:in
`copy_source_values'
./spec/unit/type/file/source.rb:177:
/Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
/Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
/Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
</pre>
And lots more like that.
--
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://reductivelabs.com/redmine/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
-~----------~----~----~----~------~----~------~--~---