Sha256: 92574c090fe9ee97d6396ddac026fa39a8bbd7966477dff7d9eff26a4e178c2d

Contents?: true

Size: 576 Bytes

Versions: 13

Compression:

Stored size: 576 Bytes

Contents

module DeepTest
  module Distributed
    class TestServerWorkers < LocalWorkers
      def initialize(options, test_server_config, connection_info)
        super(options)
        @test_server_config = test_server_config
        @connection_info = connection_info
      end
      
      def number_of_workers
        @test_server_config[:number_of_workers]
      end

      def server
        Server.remote_reference(@connection_info.address, @options.server_port)
      end

      def start_all
        super
        @warlock.exit_when_none_running
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 4 rubygems

Version Path
jason-o-matic-deep_test-1.2.2.1 lib/deep_test/distributed/test_server_workers.rb
jason-o-matic-deep_test-1.2.2.2 lib/deep_test/distributed/test_server_workers.rb
jason-o-matic-deep_test-1.2.2.3 lib/deep_test/distributed/test_server_workers.rb
jason-o-matic-deep_test-1.2.2.4 lib/deep_test/distributed/test_server_workers.rb
jperkins-deep_test-1.2.2 lib/deep_test/distributed/test_server_workers.rb
jstorimer-deep-test-1.4.0 lib/deep_test/distributed/test_server_workers.rb
jstorimer-deep-test-1.3.0 lib/deep_test/distributed/test_server_workers.rb
jstorimer-deep-test-1.2.0 lib/deep_test/distributed/test_server_workers.rb
jstorimer-deep-test-1.1.0 lib/deep_test/distributed/test_server_workers.rb
jstorimer-deep-test-1.0.0 lib/deep_test/distributed/test_server_workers.rb
deep_test-1.2.0 lib/deep_test/distributed/test_server_workers.rb
deep_test-1.2.2 lib/deep_test/distributed/test_server_workers.rb
deep_test-1.2.1 lib/deep_test/distributed/test_server_workers.rb