Quarantine tests (#24757)
* Quarantine LinkedApplicationWorks * Quarantine flaky tests * Quarantine CanBindTextbox_Decimal_InvalidInput * React to NetworkException type * One more test
This commit is contained in:
parent
fd1a5c5a9c
commit
fb5dd8564e
|
|
@ -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
|
// 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"
|
// other tests because it requires type="text" - the other tests use type="number"
|
||||||
[Fact]
|
[Fact]
|
||||||
|
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/24756")]
|
||||||
public void CanBindTextbox_Decimal_InvalidInput()
|
public void CanBindTextbox_Decimal_InvalidInput()
|
||||||
{
|
{
|
||||||
var target = Browser.FindElement(By.Id("textbox-decimal-invalid"));
|
var target = Browser.FindElement(By.Id("textbox-decimal-invalid"));
|
||||||
|
|
|
||||||
|
|
@ -112,6 +112,7 @@ namespace Microsoft.AspNetCore.Components.E2ETest.Tests
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
|
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/24190")]
|
||||||
public void CanReorder()
|
public void CanReorder()
|
||||||
{
|
{
|
||||||
PerformTest(
|
PerformTest(
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@ namespace Microsoft.AspNetCore.Hosting.FunctionalTests
|
||||||
{
|
{
|
||||||
public class LinkedApplicationTests : LoggedTest
|
public class LinkedApplicationTests : LoggedTest
|
||||||
{
|
{
|
||||||
|
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/24755")]
|
||||||
[Fact]
|
[Fact]
|
||||||
public async Task LinkedApplicationWorks()
|
public async Task LinkedApplicationWorks()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -320,7 +320,7 @@ namespace Microsoft.AspNetCore.Server.HttpSys
|
||||||
using (var client = await SendHungRequestAsync("GET", address))
|
using (var client = await SendHungRequestAsync("GET", address))
|
||||||
{
|
{
|
||||||
await received.Task.TimeoutAfter(interval);
|
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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.FunctionalTests
|
||||||
using (var connection = server.CreateConnection())
|
using (var connection = server.CreateConnection())
|
||||||
{
|
{
|
||||||
// Will throw because the exception in the connection adapter will close the connection.
|
// 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(
|
await connection.Send(
|
||||||
"POST / HTTP/1.0",
|
"POST / HTTP/1.0",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue