fix(historian-client): cancellable TLS client handshake + default-fields test (review)

This commit is contained in:
Joseph Doherty
2026-06-12 12:13:04 -04:00
parent d4ecc9138f
commit fcf84adbad
2 changed files with 3 additions and 1 deletions
@@ -68,7 +68,7 @@ internal sealed class FrameChannel : IAsyncDisposable
}); });
try try
{ {
await ssl.AuthenticateAsClientAsync(opts.Host).ConfigureAwait(false); await ssl.AuthenticateAsClientAsync(new SslClientAuthenticationOptions { TargetHost = opts.Host }, ct).ConfigureAwait(false);
} }
catch catch
{ {
@@ -64,6 +64,8 @@ public sealed class HistorianWonderwareDriverPageFormSerializationTests
back.CallTimeout.ShouldBeNull(); back.CallTimeout.ShouldBeNull();
back.EffectiveConnectTimeout.ShouldBe(TimeSpan.FromSeconds(10)); back.EffectiveConnectTimeout.ShouldBe(TimeSpan.FromSeconds(10));
back.EffectiveCallTimeout.ShouldBe(TimeSpan.FromSeconds(30)); back.EffectiveCallTimeout.ShouldBe(TimeSpan.FromSeconds(30));
back.UseTls.ShouldBeFalse();
back.ServerCertThumbprint.ShouldBeNull();
} }
[Fact] [Fact]