diff --git a/tests/AcDream.App.Tests/Streaming/StreamingControllerReadinessTests.cs b/tests/AcDream.App.Tests/Streaming/StreamingControllerReadinessTests.cs index 9c4c2257..20add222 100644 --- a/tests/AcDream.App.Tests/Streaming/StreamingControllerReadinessTests.cs +++ b/tests/AcDream.App.Tests/Streaming/StreamingControllerReadinessTests.cs @@ -394,6 +394,12 @@ public sealed class StreamingControllerReadinessTests farBase, mesh)); controller.Tick(0x12, 0x39); + // Slice E retains retirement as a cursor-budgeted transaction. A + // generous frame can retire Near and resume Far immediately; a frame + // that exhausts its elapsed budget resumes on the next Tick. Pin the + // converged state rather than wall-clock-dependent frame count. + for (int i = 0; i < 4 && appliedBuilds.Count < 2; i++) + controller.Tick(0x12, 0x39); Assert.Equal(1, ensureCalls); Assert.DoesNotContain(geometryId, meshes.ReferenceCounts);