update DualModeConnect_BeginAccept_Helper (dotnet/corefx#41726)
authorTomas Weinfurt <tweinfurt@yahoo.com>
Fri, 11 Oct 2019 15:01:02 +0000 (08:01 -0700)
committerStephen Toub <stoub@microsoft.com>
Fri, 11 Oct 2019 15:01:02 +0000 (11:01 -0400)
Commit migrated from https://github.com/dotnet/corefx/commit/a68ae7ac2a4184a8738569bea177ee8e9f28be3d

src/libraries/System.Net.Sockets/tests/FunctionalTests/DualModeSocketTest.cs

index 009c865..d6e980d 100644 (file)
@@ -861,7 +861,6 @@ namespace System.Net.Sockets.Tests
                     {
                         Assert.Equal(connectTo.MapToIPv6(), ((IPEndPoint)clientSocket.LocalEndPoint).Address);
                     }
-                    Assert.Equal(connectTo.MapToIPv6(), ((IPEndPoint)clientSocket.LocalEndPoint).Address);
                 }
                 catch (ObjectDisposedException) { }
                 catch (SocketException) { }