Issue #15569 has been updated by Josh Cooper.

Description updated


----------------------------------------
Bug #15569: Order dependent spec failures
https://projects.puppetlabs.com/issues/15569#change-67180

Author: Josh Cooper
Status: Accepted
Priority: Normal
Assignee: 
Category: testing
Target version: 
Affected Puppet version: 2.7.18
Keywords: 
Branch: 


This ticket is to track order dependent spec failures:

<pre>
~/work/puppet [2.7.x] $ rspec spec/integration/application/apply_spec.rb 
spec/unit/indirector/resource_type/parser_spec.rb
Failures:

  1) Puppet::Indirector::ResourceType::Parser when finding should return nil if 
no type can be found
     Failure/Error: @terminus.find(@request).should be_nil
       expected: nil
            got: #<Puppet::Resource::Type:0x103eac528 @line=1, @arguments={}, 
@file="/Users/josh/work/puppet/foo.pp", @type=:hostclass, 
@resource_type_collection=TypeCollection{:hostclasses=>["", "foo"], 
:definitions=>[], :nodes=>[]}, @module_name=nil, @namespace="foo", @name="foo", 
@doc="">
     # ./spec/unit/indirector/resource_type/parser_spec.rb:47
</pre>

This is just a failure if the augeas feature is installed, (it fails in 3.x, 
but not 2.7.x):

<pre>
0 ~/work/puppet [3.x] $ rspec ./spec/unit/provider/augeas/augeas_spec.rb
................................................................F........

Failures:

  1) Puppet::Type::Augeas::ProviderAugeas augeas lib initialisation should load 
one file if incl/lens used
     Failure/Error: aug = @provider.open_augeas
     Mocha::ExpectationError:
       unexpected invocation: 
#<Puppet::Type::Augeas::ProviderAugeas:0x10222f8f0>.print_load_errors(:warning 
=> false)
       unsatisfied expectations:
       - expected exactly once, not yet invoked: 
#<Puppet::Type::Augeas::ProviderAugeas:0x10222f8f0>.print_load_errors(:warning 
=> true)
       satisfied expectations:
       - allowed any number of times, not yet invoked: 
Signal.trap(any_parameters)
     # ./lib/puppet/provider/augeas/augeas.rb:187:in `open_augeas'
     # ./spec/unit/provider/augeas/augeas_spec.rb:673
</pre>


-- 
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