diff --git a/src/ZB.MOM.WW.MxGateway.Worker.Tests/TestSupport/FakeRuntimeSession.cs b/src/ZB.MOM.WW.MxGateway.Worker.Tests/TestSupport/FakeRuntimeSession.cs index 0f89658..456205d 100644 --- a/src/ZB.MOM.WW.MxGateway.Worker.Tests/TestSupport/FakeRuntimeSession.cs +++ b/src/ZB.MOM.WW.MxGateway.Worker.Tests/TestSupport/FakeRuntimeSession.cs @@ -42,6 +42,7 @@ internal sealed class FakeRuntimeSession : IWorkerRuntimeSession // disposed SemaphoreSlim would turn that shutdown into an ObjectDisposedException. private readonly SemaphoreSlim eventSignal = new(0, 1); private TimeSpan? lastWaitForEventsTimeout; + private bool refreshStaActivityOnCapture; private WorkerRuntimeHeartbeatSnapshot snapshot = new( DateTimeOffset.UtcNow, pendingCommandCount: 0, @@ -138,8 +139,6 @@ internal sealed class FakeRuntimeSession : IWorkerRuntimeSession }); } - private bool refreshStaActivityOnCapture; - /// /// When set, stamps the snapshot's /// LastStaActivityUtc with the capture time and leaves every other field as the last