Fix test_bad_sig on mac

This commit is contained in:
Stephen Akridge 2018-05-22 16:40:01 -07:00
parent abfd7d6951
commit 7b5b7feb63
1 changed files with 2 additions and 2 deletions

View File

@ -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();