Removed port_picker from server_spec.rb

pull/230/head
Tim Emiola 10 years ago
parent f875aa3698
commit 61ddba35fe
  1. 5
      src/ruby/spec/server_spec.rb

@ -28,7 +28,6 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
require 'grpc'
require 'port_picker'
def load_test_certs
test_root = File.join(File.dirname(__FILE__), 'testdata')
@ -205,10 +204,8 @@ describe Server do
end
def start_a_server
port = find_unused_tcp_port
host = "localhost:#{port}"
s = Server.new(@cq, nil)
s.add_http2_port(host)
s.add_http2_port('0.0.0.0:0')
s.start
s
end

Loading…
Cancel
Save