fix(historian-client): cancellable TLS client handshake + default-fields test (review)
This commit is contained in:
+1
-1
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
+2
@@ -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]
|
||||||
|
|||||||
Reference in New Issue
Block a user