Browse Source

Unit tests server port conflict with manual tests one

new-scoring
aeris 6 years ago
parent
commit
9738cb65db
  1. 2
      spec/cryptcheck/tls/server_spec.rb

2
spec/cryptcheck/tls/server_spec.rb

@ -46,7 +46,7 @@ describe CryptCheck::Tls::Server do
def server(type=:ecdsa, **kargs)
params = DEFAULT_PARAMETERS[type].dup
params.merge!(kargs) if kargs
host, port = '127.0.0.1', 5000
host, port = '127.0.0.1', 15000
params.merge!({ host: host, port: port })
tls_serv **params do
CryptCheck::Tls::TcpServer.new 'localhost', ::Socket::PF_INET, host, port

Loading…
Cancel
Save