From cb83922b292586c0e7b3fc1c35e33e0fb5f1bbe5 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Mon, 17 Oct 2022 04:27:34 +0100 Subject: [PATCH] add macos test note --- actix-tls/tests/test_connect.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/actix-tls/tests/test_connect.rs b/actix-tls/tests/test_connect.rs index 7f8212b0..5e73fd2d 100644 --- a/actix-tls/tests/test_connect.rs +++ b/actix-tls/tests/test_connect.rs @@ -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));