test(alarms): drop unsupported Assert.Equal message args in live subtag smoke test (xUnit)

This commit is contained in:
Joseph Doherty
2026-06-13 10:30:39 -04:00
parent bcc54ca56b
commit e10b252e3a
@@ -221,10 +221,10 @@ public sealed class AlarmSubtagLiveSmokeTests
Assert.NotNull(raiseEvent); Assert.NotNull(raiseEvent);
Assert.True(raiseEvent!.Record.Degraded, Assert.True(raiseEvent!.Record.Degraded,
"Subtag-synthesized records must have Degraded=true."); "Subtag-synthesized records must have Degraded=true.");
Assert.NotEqual(Guid.Empty, raiseEvent.Record.AlarmGuid, // SubtagAlarmConsumer must stamp a synthetic GUID on the transition.
"SubtagAlarmConsumer must stamp a synthetic GUID on the transition."); Assert.NotEqual(Guid.Empty, raiseEvent.Record.AlarmGuid);
Assert.Equal(MxAlarmStateKind.UnackAlm, raiseEvent.Record.State, // A Raise transition must leave the record in UnackAlm state.
"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}", Log(string.Format("Raise confirmed: AlarmGuid={0} Degraded={1} State={2}",
raiseEvent.Record.AlarmGuid, raiseEvent.Record.Degraded, raiseEvent.Record.State)); raiseEvent.Record.AlarmGuid, raiseEvent.Record.Degraded, raiseEvent.Record.State));