|
[ConditionalTheory] |
|
[MsQuicSupported] |
|
[InlineData(5002, 5003)] |
|
[InlineData(5004, 5004)] |
|
public async Task Listen_Http3AndSocketsCoexistOnDifferentEndpoints_ClientSuccess(int http3Port, int http1Port) |
The use of static ports will make this test unreliable, I already hit a failure locally where there was a port conflict between the test and one of the samples that happened to be running at the same time.
Re-write the test to use dynamic port bindings (0).
aspnetcore/src/Servers/Kestrel/Transport.Quic/test/WebHostTests.cs
Lines 78 to 82 in e10c98e
The use of static ports will make this test unreliable, I already hit a failure locally where there was a port conflict between the test and one of the samples that happened to be running at the same time.
Re-write the test to use dynamic port bindings (0).