Summary
Several QuickFiler.Test tests fail intermittently under load because they wait on real wall-clock time. Seen during parallel run bugs-2026-09-28:
Environment
- OS/version: Windows 11 (local, with concurrent coverage runs) and windows-latest (CI)
- Python version: n/a (C# / MSTest, parallel Workers=0, Scope=ClassLevel)
- Command/flags used:
Invoke-MSTestWithCoverage.ps1, and the CI MSTest-with-coverage required check
- Data source or fixture: n/a
Steps to Reproduce
- Run QuickFiler.Test under the parallel regime while the machine is loaded, for example with a second coverage run.
- Observe intermittent failures in the tests named above.
Expected Behavior
The tests are deterministic regardless of machine load.
Actual Behavior
QuickFiler.Test/Controllers/QfcDatamodelLivenessTests.cs uses SpinWait.SpinUntil(condition, TimeSpan.FromSeconds(5)) (line ~56) and .Task.Wait(TimeSpan.FromSeconds(5)) (lines ~103 and ~173). A slow scheduler turns these into assertion failures.
QuickFiler.Test/Controllers/QfcItemController.UiThreadDispatcherFixtureTests.cs:206 fails intermittently. Its cause is not yet established.
Logs / Screenshots
Impact / Severity
Source
From: docs/features/potential/2026-09-30-quickfiler-tests-depend-on-wall-clock-timing.md
Summary
Several QuickFiler.Test tests fail intermittently under load because they wait on real wall-clock time. Seen during parallel run bugs-2026-09-28:
QfcDatamodelLivenessTests, includingRemainingLoadActive_AcrossAsyncVoidFirstAwait_StaysTrueWhileLoaderProduces. Two failures stopped Bug: engine-toggle-prime-marker-registration-races-removal #944's P3-T8 gate, and one failure occurred during Bug: package-manifest-consistency-residuals #929's local run.QfcItemController.UiThreadDispatcherFixtureTests.Transaction_SecondCallerCannotInstallUntilTheFirstRestores, which failed once in CI on an earlier Bug: package-manifest-consistency-residuals #929 head.Environment
Invoke-MSTestWithCoverage.ps1, and the CI MSTest-with-coverage required checkSteps to Reproduce
Expected Behavior
The tests are deterministic regardless of machine load.
Actual Behavior
QuickFiler.Test/Controllers/QfcDatamodelLivenessTests.csusesSpinWait.SpinUntil(condition, TimeSpan.FromSeconds(5))(line ~56) and.Task.Wait(TimeSpan.FromSeconds(5))(lines ~103 and ~173). A slow scheduler turns these into assertion failures.QuickFiler.Test/Controllers/QfcItemController.UiThreadDispatcherFixtureTests.cs:206fails intermittently. Its cause is not yet established.Logs / Screenshots
Impact / Severity
Source
From: docs/features/potential/2026-09-30-quickfiler-tests-depend-on-wall-clock-timing.md