The `node clean` code has introduced a systematic change in state which is not uniformly protected against by the tests.
As these order dependent failures arise, we should refactor the tests to be more robust. Reviewed-By: Matt Robinson Signed-off-by: Pieter van de Bruggen <pie...@puppetlabs.com> --- Local-branch: tickets/2.7.x/1886 spec/unit/application/apply_spec.rb | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/spec/unit/application/apply_spec.rb b/spec/unit/application/apply_spec.rb index c955515..489f4db 100755 --- a/spec/unit/application/apply_spec.rb +++ b/spec/unit/application/apply_spec.rb @@ -134,7 +134,9 @@ describe Puppet::Application::Apply do Puppet[:postrun_command] = '' Puppet::Node::Facts.indirection.terminus_class = :memory + Puppet::Node::Facts.indirection.cache_class = :memory Puppet::Node.indirection.terminus_class = :memory + Puppet::Node.indirection.cache_class = :memory @facts = Puppet::Node::Facts.new(Puppet[:node_name_value]) Puppet::Node::Facts.indirection.save(@facts) -- 1.7.5.1 -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to puppet-dev@googlegroups.com. To unsubscribe from this group, send email to puppet-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.