Skip to content

Commit fb5dd85

Browse files
authored
Quarantine tests (#24757)
* Quarantine LinkedApplicationWorks * Quarantine flaky tests * Quarantine CanBindTextbox_Decimal_InvalidInput * React to NetworkException type * One more test
1 parent fd1a5c5 commit fb5dd85

File tree

5 files changed

+5
-2
lines changed

5 files changed

+5
-2
lines changed

src/Components/test/E2ETest/Tests/BindTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,7 @@ public void CanBindTextboxNullableDecimal()
612612
// This tests what happens you put invalid (unconvertable) input in. This is separate from the
613613
// other tests because it requires type="text" - the other tests use type="number"
614614
[Fact]
615+
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/24756")]
615616
public void CanBindTextbox_Decimal_InvalidInput()
616617
{
617618
var target = Browser.FindElement(By.Id("textbox-decimal-invalid"));

src/Components/test/E2ETest/Tests/KeyTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ public void CanDeleteUnkeyed()
112112
}
113113

114114
[Fact]
115+
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/24190")]
115116
public void CanReorder()
116117
{
117118
PerformTest(

src/Hosting/test/FunctionalTests/LinkedApplicationTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ namespace Microsoft.AspNetCore.Hosting.FunctionalTests
1313
{
1414
public class LinkedApplicationTests : LoggedTest
1515
{
16+
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/24755")]
1617
[Fact]
1718
public async Task LinkedApplicationWorks()
1819
{

src/Servers/HttpSys/test/FunctionalTests/ServerTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ public async Task Server_Abort_CallCanceled()
320320
using (var client = await SendHungRequestAsync("GET", address))
321321
{
322322
await received.Task.TimeoutAfter(interval);
323-
Assert.Throws<IOException>(() => client.GetStream().Read(new byte[10], 0, 10));
323+
Assert.ThrowsAny<IOException>(() => client.GetStream().Read(new byte[10], 0, 10));
324324
}
325325
}
326326
}

src/Servers/Kestrel/test/FunctionalTests/ConnectionMiddlewareTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public async Task ThrowingSynchronousConnectionMiddlewareDoesNotCrashServer()
2727
using (var connection = server.CreateConnection())
2828
{
2929
// Will throw because the exception in the connection adapter will close the connection.
30-
await Assert.ThrowsAsync<IOException>(async () =>
30+
await Assert.ThrowsAnyAsync<IOException>(async () =>
3131
{
3232
await connection.Send(
3333
"POST / HTTP/1.0",

0 commit comments

Comments
 (0)