diff options
author | Luke Kanies <luke@madstop.com> | 2008-03-21 00:26:08 -0500 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2008-03-21 00:26:08 -0500 |
commit | f6325dceb3b10c300f421f540281bbd64bdc091e (patch) | |
tree | db3ae0d91d53e0f4a8a3815d891e04271e4a19d7 /test | |
parent | 25b81b386b3581c1afb8c1ffcd23e2b1953472b4 (diff) | |
download | puppet-f6325dceb3b10c300f421f540281bbd64bdc091e.tar.gz puppet-f6325dceb3b10c300f421f540281bbd64bdc091e.tar.xz puppet-f6325dceb3b10c300f421f540281bbd64bdc091e.zip |
Found an array that leaked pretty quickly between reparsing
files, thanks to work by Adam Jacob and Arjuna Christenson
(the finding, not the leak). I'm going to act like this
fixes #1131, at least for now, but I doubt it does,
since that shows general memory growth over time, whereas
the leak here should go away as soon as files are reparsed
(because the parser is holding the reference to the leaking
array).
Diffstat (limited to 'test')
-rwxr-xr-x | test/language/parser.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/language/parser.rb b/test/language/parser.rb index 2a0e9c02d..2161a33f5 100755 --- a/test/language/parser.rb +++ b/test/language/parser.rb @@ -1141,6 +1141,7 @@ file { "/tmp/yayness": name = "sub" mk_module(modname, :init => %w{separate}, :sub => %w{separate::sub}) + Puppet.err :yay # First try it with a namespace klass = parser.findclass("separate", name) assert_instance_of(AST::HostClass, klass, "Did not autoload sub class from separate file with a namespace") |