Upgrade OPC UA SDK to 2.0.1 preserving application contracts #802

Merged
dohertj2 merged 111 commits from codex/opcua-sdk-2 into master 2026-11-10 20:30:53 -05:00
Showing only changes of commit 7f21c9aa64 - Show all commits
@@ -186,9 +186,10 @@ public sealed partial class Sdk2LifecycleSoakTests
var original = new ShouldAssertException("original cold RSS rejection");
using var buffer = new MemoryStream();
await using var evidence = new StreamWriter(buffer, leaveOpen: true);
var error = await Should.ThrowAsync<ShouldAssertException>(() =>
run.EmitAndPreserveFailuresAsync(evidence, 1800, 450, 7201, ExceptionDispatchInfo.Capture(original)));
error.ShouldBeSameAs(original);
ShouldAssertException? observed = null;
try { await run.EmitAndPreserveFailuresAsync(evidence, 1800, 450, 7201, ExceptionDispatchInfo.Capture(original)); }
catch (ShouldAssertException error) { observed = error; }
observed.ShouldBeSameAs(original);
using var row = ReadSingleLateSlopeResult(buffer);
row.RootElement.GetProperty("durationCompleted").GetBoolean().ShouldBeTrue();
row.RootElement.GetProperty("fatalFailure").GetBoolean().ShouldBeFalse();