diff --git a/lib/spork/run_strategy/magazine/magazine_slave_provider.rb b/lib/spork/run_strategy/magazine/magazine_slave_provider.rb index 644c329..295c1cf 100755 --- a/lib/spork/run_strategy/magazine/magazine_slave_provider.rb +++ b/lib/spork/run_strategy/magazine/magazine_slave_provider.rb @@ -19,7 +19,10 @@ Dir.chdir app_pwd puts " -- build slave #{id}..."; $stdout.flush magazine_slave = MagazineSlave.new(id, test_framework_short_name ) -Rinda::RingProvider.new(:MagazineSlave, magazine_slave, id).provide + +# never expire, the renewer returns nil, which means expiration of *nix clock +renewer = Rinda::SimpleRenewer.new(nil) +Rinda::RingProvider.new(:MagazineSlave, magazine_slave, id, renewer).provide puts " --> DRb magazine_slave_service: #{id} provided..."; $stdout.flush