1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-27 16:52:58 +01:00

add macos test note

This commit is contained in:
Rob Ede 2022-10-17 04:27:34 +01:00
parent 25209f5bd8
commit cb83922b29
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933

View File

@ -143,6 +143,9 @@ async fn test_local_addr() {
})
});
// if you've arrived here because of a failing test on macOS run this in your terminal:
// sudo ifconfig lo0 alias 127.0.0.3
let conn = Connector::default().service();
let local = IpAddr::V4(Ipv4Addr::new(127, 0, 0, 3));