test/functional/base.rb in ruote-2.1.10 vs test/functional/base.rb in ruote-2.1.11

- old
+ new

@@ -20,10 +20,12 @@ def setup #require 'ruote/util/look' #Ruote::Look.dump_lsof #Ruote::Look.dump_lsof_count + # + # uncomment this when "too many open files" @engine = Ruote::Engine.new( Ruote::Worker.new( determine_storage( @@ -42,9 +44,10 @@ def teardown @engine.shutdown @engine.context.storage.purge! + @engine.context.storage.close if @engine.context.storage.respond_to?(:close) end def assert_log_count (count, &block) c = @engine.context.logger.log.select(&block).size