The Windows net10.0 BVT job intermittently failed ObserverCancellationTokenTests_WaitForAcknowledgement.MultipleObserversCancellation(cancelImmediately: true).
Failure: Assert.ThrowsAny() Failure: No exception was thrown at ObserverCancellationTokenTests.cs:228; one notification task completed instead of throwing OperationCanceledException.
Observed in CI: https://github.com/dotnet/orleans/actions/runs/33132684117/job/98725565511
The exact two-case test passed 20 consecutive local runs (40/40 cases) on net10.0 after rebasing PR #10074 onto current main, so this appears timing-dependent rather than a deterministic transport regression. Investigate the cancel-immediately race between request dispatch, remote completion, and cancellation acknowledgement.
The Windows net10.0 BVT job intermittently failed
ObserverCancellationTokenTests_WaitForAcknowledgement.MultipleObserversCancellation(cancelImmediately: true).Failure:
Assert.ThrowsAny() Failure: No exception was thrownatObserverCancellationTokenTests.cs:228; one notification task completed instead of throwingOperationCanceledException.Observed in CI: https://github.com/dotnet/orleans/actions/runs/33132684117/job/98725565511
The exact two-case test passed 20 consecutive local runs (40/40 cases) on net10.0 after rebasing PR #10074 onto current main, so this appears timing-dependent rather than a deterministic transport regression. Investigate the cancel-immediately race between request dispatch, remote completion, and cancellation acknowledgement.