From e10b252e3a3eb38287aed2443be38c16b3d700a0 Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Sat, 13 Jun 2026 10:30:39 -0400 Subject: [PATCH] test(alarms): drop unsupported Assert.Equal message args in live subtag smoke test (xUnit) --- .../Probes/AlarmSubtagLiveSmokeTests.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ZB.MOM.WW.MxGateway.Worker.Tests/Probes/AlarmSubtagLiveSmokeTests.cs b/src/ZB.MOM.WW.MxGateway.Worker.Tests/Probes/AlarmSubtagLiveSmokeTests.cs index d6c3cfa..b01e465 100644 --- a/src/ZB.MOM.WW.MxGateway.Worker.Tests/Probes/AlarmSubtagLiveSmokeTests.cs +++ b/src/ZB.MOM.WW.MxGateway.Worker.Tests/Probes/AlarmSubtagLiveSmokeTests.cs @@ -221,10 +221,10 @@ public sealed class AlarmSubtagLiveSmokeTests Assert.NotNull(raiseEvent); Assert.True(raiseEvent!.Record.Degraded, "Subtag-synthesized records must have Degraded=true."); - Assert.NotEqual(Guid.Empty, raiseEvent.Record.AlarmGuid, - "SubtagAlarmConsumer must stamp a synthetic GUID on the transition."); - Assert.Equal(MxAlarmStateKind.UnackAlm, raiseEvent.Record.State, - "A Raise transition must leave the record in UnackAlm state."); + // SubtagAlarmConsumer must stamp a synthetic GUID on the transition. + Assert.NotEqual(Guid.Empty, raiseEvent.Record.AlarmGuid); + // A Raise transition must leave the record in UnackAlm state. + Assert.Equal(MxAlarmStateKind.UnackAlm, raiseEvent.Record.State); Log(string.Format("Raise confirmed: AlarmGuid={0} Degraded={1} State={2}", raiseEvent.Record.AlarmGuid, raiseEvent.Record.Degraded, raiseEvent.Record.State));