test(worker): mark the MXA-003 stuck-poll shutdown test subscribed so MXA-011's idle skip doesn't bypass the poll
ci / windows-x86 (push) Successful in 2m25s
ci / java (push) Failing after 9m54s
ci / portable (push) Failing after 16m26s

This commit is contained in:
Joseph Doherty
2026-12-03 10:21:18 -05:00
parent 0f2ae7f542
commit 6804341152
@@ -618,7 +618,8 @@ public sealed class MxAccessStaSessionTests
[Fact]
public async Task ShutdownGracefullyAsync_WhenStaIsStuckInAlarmPoll_TimesOutWithinGrace()
{
FakeAlarmCommandHandler handler = new() { BlockPoll = true };
// Subscribed, or the poll loop skips the STA hop entirely (MXA-011).
FakeAlarmCommandHandler handler = new() { BlockPoll = true, IsSubscribed = true };
FakeMxAccessComObjectFactory factory = new();
FakeMxAccessEventSink eventSink = new();
using StaRuntime runtime = CreateRuntime();