Sha256: 8ccfb3ba381e4d77bf8d266c49e47485d5f480e7ce4c6e38b37d587ead5f7164

Contents?: true

Size: 366 Bytes

Versions: 3

Compression:

Stored size: 366 Bytes

Contents

class KillAgentOneOnStartWork
    def before_sync
    end
    def before_starting_agents
    end
    def starting(agent)
    end
    def starting_work(agent, work_unit)
      if agent.number == 1
        puts "Killing Agent 1 to see if CentralCommand redispatches work"
        exit!(0) 
      end
    end
    def finished_work(agent, work_unit, result)
    end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jstorimer-deep-test-2.0.0 negative_acceptance_tests/kill_agent_one_on_start_work.rb
jstorimer-deep-test-0.2.0 negative_acceptance_tests/kill_agent_one_on_start_work.rb
jstorimer-deep-test-0.1.0 negative_acceptance_tests/kill_agent_one_on_start_work.rb