From 10f88aeafc2793329a923a36ce8967bf5e93bd63 Mon Sep 17 00:00:00 2001 From: Cesar Blum Silveira Date: Wed, 17 May 2017 10:57:39 -0700 Subject: [PATCH] Fix duplicate ID test warning. --- .../AddressRegistrationTests.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/test/Microsoft.AspNetCore.Server.Kestrel.FunctionalTests/AddressRegistrationTests.cs b/test/Microsoft.AspNetCore.Server.Kestrel.FunctionalTests/AddressRegistrationTests.cs index 1ec090f996..38ea0f1933 100644 --- a/test/Microsoft.AspNetCore.Server.Kestrel.FunctionalTests/AddressRegistrationTests.cs +++ b/test/Microsoft.AspNetCore.Server.Kestrel.FunctionalTests/AddressRegistrationTests.cs @@ -660,6 +660,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.FunctionalTests // Non-loopback addresses var ipv6Addresses = GetIPAddresses() + .Where(ip => !ip.Equals(IPAddress.IPv6Loopback)) .Where(ip => ip.AddressFamily == AddressFamily.InterNetworkV6) .Where(ip => ip.ScopeId == 0) .Where(ip => CanBindAndConnectToEndpoint(new IPEndPoint(ip, 0)));