Skip to content

Commit

Permalink
wait for response and send to @host for v5
Browse files Browse the repository at this point in the history
  • Loading branch information
sidoh committed Jul 13, 2024
1 parent 1cf2e92 commit eb5c580
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/remote/spec/udp_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,10 @@
end

it 'should respond to v5 discovery' do
@discovery_socket.send('Link_Wi-Fi', 0, @discovery_host, @discovery_port)
@discovery_socket.send('Link_Wi-Fi', 0, @host, @discovery_port)

# wait for response
sleep 1

response, _ = @discovery_socket.recvfrom_nonblock(1024)
response = response.split(',')
Expand Down

0 comments on commit eb5c580

Please sign in to comment.