test(alarms): drop unsupported Assert.Equal message args in live subtag smoke test (xUnit)
This commit is contained in:
@@ -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));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user