mirror of
https://github.com/VSadov/Satori.git
synced 2025-06-09 17:44:48 +09:00
Fix condition to run CertificateCallbackThrowPropagates test on msquic 2.4 and higher (#105789)
* Fix condition * Apply suggestions from code review Co-authored-by: Radek Zikmund <32671551+rzikm@users.noreply.github.com> --------- Co-authored-by: Radek Zikmund <32671551+rzikm@users.noreply.github.com>
This commit is contained in:
parent
8b078abecf
commit
45f6952883
1 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ namespace System.Net.Quic.Tests
|
|||
{
|
||||
private static byte[] s_data = "Hello world!"u8.ToArray();
|
||||
readonly CertificateSetup _certificates;
|
||||
static bool SupportsAsyncCertValidation => QuicTestCollection.MsQuicVersion >= new Version(2, 4);
|
||||
static bool DoesNotSupportAsyncCertValidation => QuicTestCollection.MsQuicVersion < new Version(2, 4);
|
||||
|
||||
public MsQuicTests(ITestOutputHelper output, CertificateSetup setup) : base(output)
|
||||
{
|
||||
|
@ -354,7 +354,7 @@ namespace System.Net.Quic.Tests
|
|||
}
|
||||
|
||||
[Fact]
|
||||
[ActiveIssue("https://github.com/dotnet/runtime/issues/99074", typeof(MsQuicTests), nameof(SupportsAsyncCertValidation))]
|
||||
[ActiveIssue("https://github.com/dotnet/runtime/issues/99074", typeof(MsQuicTests), nameof(DoesNotSupportAsyncCertValidation))]
|
||||
public async Task CertificateCallbackThrowPropagates()
|
||||
{
|
||||
using CancellationTokenSource cts = new CancellationTokenSource(PassingTestTimeout);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue