Really fix port assignment issue in websocket spec
This commit is contained in:
parent
81f958a18a
commit
7faed507cf
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ describe 'websocket-server' do
|
||||||
let(:error_msg) { "`start_tcp_server': no acceptor" }
|
let(:error_msg) { "`start_tcp_server': no acceptor" }
|
||||||
let(:ipv6_addr) { '::1/128' }
|
let(:ipv6_addr) { '::1/128' }
|
||||||
# Prevent port assignment conflicts during parallel test execution
|
# Prevent port assignment conflicts during parallel test execution
|
||||||
let(:port) { '60042' }
|
let(:port) { rand(60_000..65_000) }
|
||||||
|
|
||||||
# Flush logs
|
# Flush logs
|
||||||
before do
|
before do
|
||||||
|
|
Loading…
Reference in a new issue