Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Newton-King <james@newtonking.com>2022-08-03 03:12:04 +0300
committerJames Newton-King <james@newtonking.com>2022-08-03 04:58:26 +0300
commit5fd6d13206e86919f9f4e6379d238f7de7df97c6 (patch)
tree7a58f7ad6aca1a28df662e45a425675c2937aa99
parentd7eb01ab3aa5bb0ef8601b313aa4ddda39a9ab8d (diff)
Fix test and add commentjamesnk/quiclistener-logging
-rw-r--r--src/Servers/Kestrel/Transport.Quic/test/QuicConnectionListenerTests.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Servers/Kestrel/Transport.Quic/test/QuicConnectionListenerTests.cs b/src/Servers/Kestrel/Transport.Quic/test/QuicConnectionListenerTests.cs
index 70213ef399..62faf05b77 100644
--- a/src/Servers/Kestrel/Transport.Quic/test/QuicConnectionListenerTests.cs
+++ b/src/Servers/Kestrel/Transport.Quic/test/QuicConnectionListenerTests.cs
@@ -154,7 +154,9 @@ public class QuicConnectionListenerTests : TestApplicationErrorLoggerLoggedTest
// Act & Assert
var port = ((IPEndPoint)connectionListener.EndPoint).Port;
- await Assert.ThrowsAsync<AddressInUseException>(() => QuicTestHelpers.CreateConnectionListenerFactory(LoggerFactory, port: port));
+ // TODO - update to check for AddressInUseException when System.Net.Quic is updated to throw a descriptive error.
+ // See https://github.com/dotnet/aspnetcore/issues/43061
+ await Assert.ThrowsAsync<QuicException>(() => QuicTestHelpers.CreateConnectionListenerFactory(LoggerFactory, port: port));
}
[ConditionalFact]