Class: DeepTest::Distributed::LandingFleet
- Inherits:
-
Object
- Object
- DeepTest::Distributed::LandingFleet
- Defined in:
- lib/deep_test/distributed/landing_fleet.rb
Instance Method Summary collapse
- #deploy_agents ⇒ Object
- #establish_beachhead(options) ⇒ Object
-
#initialize(options, slaves) ⇒ LandingFleet
constructor
A new instance of LandingFleet.
- #load_files(files) ⇒ Object
- #push_code(options) ⇒ Object
Constructor Details
#initialize(options, slaves) ⇒ LandingFleet
Returns a new instance of LandingFleet.
4 5 6 7 |
# File 'lib/deep_test/distributed/landing_fleet.rb', line 4 def initialize(, slaves) DeepTest.logger.debug { "LandingFleet#initialize #{slaves.length} slaves" } @slave_controller = DispatchController.new(, slaves) end |
Instance Method Details
#deploy_agents ⇒ Object
24 25 26 27 |
# File 'lib/deep_test/distributed/landing_fleet.rb', line 24 def deploy_agents DeepTest.logger.debug { "dispatch deploy_agents" } @slave_controller.dispatch :deploy_agents end |
#establish_beachhead(options) ⇒ Object
9 10 11 12 |
# File 'lib/deep_test/distributed/landing_fleet.rb', line 9 def establish_beachhead() DeepTest.logger.debug { "dispatch establish_beachhead for #{.origin_hostname}" } @slave_controller.dispatch :establish_beachhead, end |