Quarantine tests (#24757)

* Quarantine LinkedApplicationWorks

* Quarantine flaky tests

* Quarantine CanBindTextbox_Decimal_InvalidInput

* React to NetworkException type

* One more test
This commit is contained in:
Pranav K 2020-08-10 18:06:20 -07:00 committed by GitHub
parent fd1a5c5a9c
commit fb5dd8564e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 2 deletions

View File

@ -612,6 +612,7 @@ namespace Microsoft.AspNetCore.Components.E2ETest.Tests
// This tests what happens you put invalid (unconvertable) input in. This is separate from the
// other tests because it requires type="text" - the other tests use type="number"
[Fact]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/24756")]
public void CanBindTextbox_Decimal_InvalidInput()
{
var target = Browser.FindElement(By.Id("textbox-decimal-invalid"));

View File

@ -112,6 +112,7 @@ namespace Microsoft.AspNetCore.Components.E2ETest.Tests
}
[Fact]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/24190")]
public void CanReorder()
{
PerformTest(

View File

@ -13,6 +13,7 @@ namespace Microsoft.AspNetCore.Hosting.FunctionalTests
{
public class LinkedApplicationTests : LoggedTest
{
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/24755")]
[Fact]
public async Task LinkedApplicationWorks()
{

View File

@ -320,7 +320,7 @@ namespace Microsoft.AspNetCore.Server.HttpSys
using (var client = await SendHungRequestAsync("GET", address))
{
await received.Task.TimeoutAfter(interval);
Assert.Throws<IOException>(() => client.GetStream().Read(new byte[10], 0, 10));
Assert.ThrowsAny<IOException>(() => client.GetStream().Read(new byte[10], 0, 10));
}
}
}

View File

@ -27,7 +27,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.FunctionalTests
using (var connection = server.CreateConnection())
{
// Will throw because the exception in the connection adapter will close the connection.
await Assert.ThrowsAsync<IOException>(async () =>
await Assert.ThrowsAnyAsync<IOException>(async () =>
{
await connection.Send(
"POST / HTTP/1.0",