diff options
| author | Daniel Pittman <daniel@rimspace.net> | 2011-08-17 10:47:57 -0700 |
|---|---|---|
| committer | Daniel Pittman <daniel@rimspace.net> | 2011-08-17 10:47:57 -0700 |
| commit | e4bb85af3216473e82a263f41c39c34489940276 (patch) | |
| tree | 1b19ce4845e7ea97b5a0dd450f3d35ad51697bbd | |
| parent | b6895de42276262a58029a7763844eacd9cd0745 (diff) | |
| parent | 2bf6721a35a001c5b1ce2c6b9707ef28058919e9 (diff) | |
| download | puppet-e4bb85af3216473e82a263f41c39c34489940276.tar.gz puppet-e4bb85af3216473e82a263f41c39c34489940276.tar.xz puppet-e4bb85af3216473e82a263f41c39c34489940276.zip | |
Merge pull request #41 from jhelwig/do-not-leak-indirector-state-2.6.x
Do not leak indirector state
| -rwxr-xr-x | spec/unit/configurer_spec.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/unit/configurer_spec.rb b/spec/unit/configurer_spec.rb index f96876b58..29225130f 100755 --- a/spec/unit/configurer_spec.rb +++ b/spec/unit/configurer_spec.rb @@ -90,6 +90,11 @@ describe Puppet::Configurer do Puppet::Util::Log.stubs(:close) end + after :all do + Puppet::Node::Facts.indirection.reset_terminus_class + Puppet::Resource::Catalog.indirection.reset_terminus_class + end + it "should prepare for the run" do @agent.expects(:prepare) |
