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;