Skip to content

Bug: quickfiler-tests-depend-on-wall-clock-timing #950

Description

@drmoisan
  • Work Mode: full-bug

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

  1. Run QuickFiler.Test under the parallel regime while the machine is loaded, for example with a second coverage run.
  2. 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

  • Blocker
  • High
  • Medium
  • Low

Source

From: docs/features/potential/2026-09-30-quickfiler-tests-depend-on-wall-clock-timing.md

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions