Skip to content

MountVolume test flakiness: Delete_MountVolume and ReparsePoints_MountVolume #125913

@danmoseley

Description

@danmoseley

Note

This issue was created with Copilot assistance.

Tracking flaky MountVolume tests that are hitting blocking-clean-ci:

Root cause (Delete_MountVolume): 7 locations use a fixed Task.Delay(300) after Directory.Delete through NTFS mount points, then assert !Directory.Exists(). 300ms is insufficient on loaded CI machines.

Root cause (ReparsePoints_MountVolume): Needs investigation — no Task.Delay in the test; may be mount setup/teardown timing.

Proposed fix: Replace fixed delays with a polling loop (retry Directory.Exists with backoff, ~10s timeout).

Known Issue Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Metadata

Metadata

Labels

area-System.IOblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions