[katello-devel] Speeding up tests

Lukas Zapletal lzap at redhat.com
Fri May 3 16:51:28 UTC 2013


On Thu, May 02, 2013 at 09:12:07AM +0200, Petr Chalupa wrote:
> >DEFER_GC=0 rspec spec/controllers/users_controller_spec.rb # disabled, ruby handles garbage collection
> >DEFER_GC=10 rspec spec/controllers/users_controller_spec.rb # at least 10 seconds between garbage collections
> 
> It can be also set permanently to a value in katello.yml
> `test.rspec_gc_defer_time`. The env variable do not have to be used.

Although I would totally hate process allocating 4 gigs on my laptop ;-)

Nice stuff.

LZ


-- 
Later,

 Lukas "lzap" Zapletal
 irc: lzap #theforeman




More information about the katello-devel mailing list