Sha256: de7f95fd56cfac2a556efc9c4ca1a45e0212dfcdcf515b9dd8fd72c1999e668b

Contents?: true

Size: 336 Bytes

Versions: 12

Compression:

Stored size: 336 Bytes

Contents

('01'..'08').each do |i|
  God.watch do |w|
    w.name = "stress-#{i}"
    w.start = "ruby " + File.join(File.dirname(__FILE__), *%w[simple_server.rb])
    w.interval = 0
    w.grace = 2
    w.group = 'test'

    w.start_if do |start|
      start.condition(:process_running) do |c|
        c.running = false
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 3 rubygems

Version Path
resurrected_god-0.14.0 test/configs/stress/stress.god
mcproc-2016.2.20 test/configs/stress/stress.god
god-0.13.7 test/configs/stress/stress.god
god-0.13.6 test/configs/stress/stress.god
god-0.13.5 test/configs/stress/stress.god
god-0.13.4 test/configs/stress/stress.god
god-0.13.3 test/configs/stress/stress.god
god-0.13.2 test/configs/stress/stress.god
god-0.13.1 test/configs/stress/stress.god
god-0.13.0 test/configs/stress/stress.god
god-0.12.1 test/configs/stress/stress.god
god-0.12.0 test/configs/stress/stress.god