Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

fix and enable FileSystemWatcher_File_Rename_NotAffectEachOther test - #42430

Merged
stephentoub merged 5 commits into
dotnet:masterfrom
wfurt:rename_42344
Nov 9, 2019
Merged

stephentoub merged 5 commits into
dotnet:masterfrom
wfurt:rename_42344

Conversation

@wfurt

@wfurt wfurt commented Nov 7, 2019

Copy link
Copy Markdown
Member

This is follow up on #40611 to for one missed test.
With the product change we will now get single Rename event instead of Create and Delete.

Since in this code I made for more improvements.
Most notably, event handlers running on thread-pool may Assert but that is not visible from test run. We would just get random timeouts waiting for event.
I updated few places for test I see failing in CI.

fixes #42344

@wfurt wfurt added area-System.IO test bug Problem in test source code (most likely) labels Nov 7, 2019
@wfurt wfurt self-assigned this Nov 7, 2019
@wfurt

wfurt commented Nov 7, 2019

Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 4 pipeline(s).

@aik-jahoda aik-jahoda left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGFM

@stephentoub
stephentoub merged commit b551a6c into dotnet:master Nov 9, 2019
@davidsh davidsh added this to the 5.0 milestone Nov 9, 2019
@wfurt
wfurt deleted the rename_42344 branch November 9, 2019 21:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.IO test bug Problem in test source code (most likely)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FileSystemWatcher tests on MacOS constantly fail on Outerloop CI run

4 participants