Fix test_bad_sig on mac
This commit is contained in:
parent
abfd7d6951
commit
7b5b7feb63
|
@ -286,11 +286,11 @@ mod tests {
|
|||
);
|
||||
sleep(Duration::from_millis(300));
|
||||
|
||||
let requests_socket = UdpSocket::bind("127.0.0.1:0").unwrap();
|
||||
let requests_socket = UdpSocket::bind("0.0.0.0:0").unwrap();
|
||||
requests_socket
|
||||
.set_read_timeout(Some(Duration::new(5, 0)))
|
||||
.unwrap();
|
||||
let events_socket = UdpSocket::bind("127.0.0.1:0").unwrap();
|
||||
let events_socket = UdpSocket::bind("0.0.0.0:0").unwrap();
|
||||
let mut client = ThinClient::new(serve_addr, requests_socket, events_addr, events_socket);
|
||||
let last_id = client.get_last_id().wait().unwrap();
|
||||
|
||||
|
|
Loading…
Reference in New Issue