class DeepTest::Distributed::MultiTestServerProxy::WorkerServerProxy
Public Class Methods
new(options, slaves)
click to toggle source
# File lib/deep_test/distributed/multi_test_server_proxy.rb, line 22 def initialize(options, slaves) DeepTest.logger.debug "WorkerServerProxy#initialize #{slaves.inspect}" @slave_controller = DispatchController.new(options, slaves) end
Public Instance Methods
load_files(files)
click to toggle source
# File lib/deep_test/distributed/multi_test_server_proxy.rb, line 27 def load_files(files) DeepTest.logger.debug "dispatch load_files" @slave_controller.dispatch(:load_files, files) end
start_all()
click to toggle source
# File lib/deep_test/distributed/multi_test_server_proxy.rb, line 32 def start_all DeepTest.logger.debug "dispatch start_all" @slave_controller.dispatch(:start_all) end
stop_all()
click to toggle source
# File lib/deep_test/distributed/multi_test_server_proxy.rb, line 37 def stop_all DeepTest.logger.debug "dispatch stop_all" @slave_controller.dispatch_with_options(:stop_all, :ignore_connection_error => true) end