Fixing #1247 -- no more clear_cache failures.

I had clearly only run spec/ since this work.
This commit is contained in:
Luke Kanies 2008-05-25 16:01:26 -05:00
Родитель 29f5f1b862
Коммит 6f533d1127
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -302,7 +302,7 @@ module PuppetTest
Puppet::Util::Storage.clear
Puppet.clear
Puppet.settings.clear
Puppet::Indirector::Indirection.clear_cache
Puppet::Util::Cacher.invalidate
@memoryatend = Puppet::Util.memory
diff = @memoryatend - @memoryatstart

Просмотреть файл

@ -10,7 +10,7 @@ class TestMaster < Test::Unit::TestCase
def teardown
super
Puppet::Indirector::Indirection.clear_cache
Puppet::Util::Cacher.invalidate
end
def test_freshness_is_always_now