class DeepTest::Distributed::TestServerWorkers
Public Class Methods
new(options, test_server_config, connection_info)
click to toggle source
Calls superclass method
# File lib/deep_test/distributed/test_server_workers.rb, line 4 def initialize(options, test_server_config, connection_info) super(options) @test_server_config = test_server_config @connection_info = connection_info end
Public Instance Methods
number_of_workers()
click to toggle source
# File lib/deep_test/distributed/test_server_workers.rb, line 10 def number_of_workers @test_server_config[:number_of_workers] end
server()
click to toggle source
# File lib/deep_test/distributed/test_server_workers.rb, line 14 def server Server.remote_reference(@connection_info.address, @options.server_port) end
start_all()
click to toggle source
Calls superclass method
# File lib/deep_test/distributed/test_server_workers.rb, line 18 def start_all super @warlock.exit_when_none_running end