summaryrefslogtreecommitdiffstats
path: root/test/network/client
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-01-08 09:23:34 -0600
committerLuke Kanies <luke@madstop.com>2008-01-08 09:23:34 -0600
commit3cc3e0f5b21deee4fbdbcbae18fba47c7a0cbb1e (patch)
tree2d47761110c458f175f6483f0424a959cbcb3f34 /test/network/client
parentfe9b453650755e66e29eca259075e2e7245a5219 (diff)
downloadpuppet-3cc3e0f5b21deee4fbdbcbae18fba47c7a0cbb1e.tar.gz
puppet-3cc3e0f5b21deee4fbdbcbae18fba47c7a0cbb1e.tar.xz
puppet-3cc3e0f5b21deee4fbdbcbae18fba47c7a0cbb1e.zip
Lots o' bug-fixes toward getting rid of global resources.
We still have about 60 failing tests, but some of them are the failing directory service tests (probably 20 or so), and most are simple fixes to the tests themselves.
Diffstat (limited to 'test/network/client')
-rwxr-xr-xtest/network/client/master.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/test/network/client/master.rb b/test/network/client/master.rb
index 696d08bfd..48be3cafa 100755
--- a/test/network/client/master.rb
+++ b/test/network/client/master.rb
@@ -519,24 +519,6 @@ end
assert_equal(facts["environment"], Puppet[:environment], "Did not add environment to client facts")
end
- # This is partially to fix #532, but also to save on memory.
- def test_remove_objects_after_every_run
- client = mkclient
-
- ftype = Puppet::Type.type(:file)
- file = ftype.create :title => "/what/ever", :ensure => :present
- config = Puppet::Node::Catalog.new
- config.add_resource(file)
-
- config.expects :apply
-
- client.catalog = config
- client.expects(:getconfig)
- client.run
-
- assert_nil(ftype[@createdfile], "file object was not removed from memory")
- end
-
# #685
def test_http_failures_do_not_kill_puppetd
client = mkclient