mirror of
https://github.com/OPCFoundation/UA-.NETStandard.git
synced 2026-10-29 15:11:53 +08:00
Add native lane failure diagnostics
This commit is contained in:
@@ -609,7 +609,9 @@ namespace Opc.Ua.DataChannels.ClientServer.Tests
|
||||
ServiceResultException? closed = Assert.ThrowsAsync<ServiceResultException>(async () =>
|
||||
await lane.SendRequestAsync(request, harness.Token).ConfigureAwait(false));
|
||||
Assert.That(closed!.StatusCode, Is.EqualTo(StatusCodes.BadConnectionClosed));
|
||||
Assert.That(harness.ClientContext.IsReady, Is.True);
|
||||
Assert.That(harness.ClientContext.IsReady, Is.True,
|
||||
$"Client context termination: {string.Join(",", harness.ClientClosures)}; " +
|
||||
$"transport failure: {harness.ClientTransportFailure}");
|
||||
Assert.That(harness.NativeClient.Completion.IsCompleted, Is.False);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user