From da50123a2c07a7ec22e1be43572a010b075e3d05 Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Tue, 10 Nov 2026 11:49:37 -0500 Subject: [PATCH] test: start service-level fixtures with authenticated SDK server --- .../OpcUa/ServiceLevelEndToEndTests.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/Server/ZB.MOM.WW.OtOpcUa.Runtime.Tests/OpcUa/ServiceLevelEndToEndTests.cs b/tests/Server/ZB.MOM.WW.OtOpcUa.Runtime.Tests/OpcUa/ServiceLevelEndToEndTests.cs index 06def95e..f9c677a8 100644 --- a/tests/Server/ZB.MOM.WW.OtOpcUa.Runtime.Tests/OpcUa/ServiceLevelEndToEndTests.cs +++ b/tests/Server/ZB.MOM.WW.OtOpcUa.Runtime.Tests/OpcUa/ServiceLevelEndToEndTests.cs @@ -1,6 +1,5 @@ using Akka.Actor; using Microsoft.Extensions.Logging.Abstractions; -using Opc.Ua.Server; using Shouldly; using Xunit; using ZB.MOM.WW.OtOpcUa.Commons.Messages.Redundancy; @@ -14,7 +13,7 @@ namespace ZB.MOM.WW.OtOpcUa.Runtime.Tests.OpcUa; /// /// Task 60 / #81 — verifies the full path from cluster redundancy state to OPC UA -/// Server.ServiceLevel visible on the wire. Boots a real , +/// Server.ServiceLevel visible on the wire. Boots a real , /// wires into a /// (the production binding pattern), spawns against the /// deferred publisher, and sends a snapshot. Asserts @@ -35,7 +34,7 @@ public sealed class ServiceLevelEndToEndTests : RuntimeActorTestBase port => new OpcUaApplicationHost( BuildOptions("PrimaryLeader", pkiRoot, port), NullLogger.Instance), - () => new StandardServer(Opc.Ua.DefaultTelemetry.Create(_ => { })), Ct); + () => new OtOpcUaSdkServer(), Ct); await using var host = started.Host; var server = started.Server; @@ -77,7 +76,7 @@ public sealed class ServiceLevelEndToEndTests : RuntimeActorTestBase port => new OpcUaApplicationHost( BuildOptions("Secondary", pkiRoot, port), NullLogger.Instance), - () => new StandardServer(Opc.Ua.DefaultTelemetry.Create(_ => { })), Ct); + () => new OtOpcUaSdkServer(), Ct); await using var host = started.Host; var server = started.Server;