From ac7a6b56d47fa39030d772fc8a5153e685d1e1dc Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Wed, 10 Oct 2018 10:00:13 -0700 Subject: [PATCH] Reenable client disconnect tests (#1485) --- test/IIS.Tests/ClientDisconnectTests.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/IIS.Tests/ClientDisconnectTests.cs b/test/IIS.Tests/ClientDisconnectTests.cs index 9c8855be47..2731c5665e 100644 --- a/test/IIS.Tests/ClientDisconnectTests.cs +++ b/test/IIS.Tests/ClientDisconnectTests.cs @@ -127,7 +127,7 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests Assert.Equal("The client has disconnected", exception.Message); } - [ConditionalFact(Skip = "See: https://github.com/aspnet/IISIntegration/issues/1075")] + [ConditionalFact] public async Task WriterThrowsCancelledException() { var requestStartedCompletionSource = CreateTaskCompletionSource(); @@ -136,7 +136,7 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests Exception exception = null; var cancellationTokenSource = new CancellationTokenSource(); - var data = new byte[1024]; + var data = new byte[1]; using (var testServer = await TestServer.Create(async ctx => { requestStartedCompletionSource.SetResult(true); @@ -167,7 +167,8 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests Assert.IsType(exception); } } - [ConditionalFact(Skip = "See: https://github.com/aspnet/IISIntegration/issues/1075")] + + [ConditionalFact] public async Task ReaderThrowsCancelledException() { var requestStartedCompletionSource = CreateTaskCompletionSource();