Handle FileNotFound for symlinks when using polling (#56915)
authorDavid CantĂș <dacantu@microsoft.com>
Tue, 10 Aug 2021 14:37:24 +0000 (07:37 -0700)
committerGitHub <noreply@github.com>
Tue, 10 Aug 2021 14:37:24 +0000 (16:37 +0200)
commita57a9ece44b3424d626a9bb24e7d3c122f55f901
treef491f6885165595babbe09649236d3b30fbe45ec
parent456643669f992cd41d99931c37f1ebcade439c76
Handle FileNotFound for symlinks when using polling (#56915)

* Handle FileNotFound for symlinks when using polling

* Re-enable tests

* Use CTS instead of Task.Wait(TimeSpan) to fix issues in browser.
src/libraries/Microsoft.Extensions.FileProviders.Physical/src/Internal/FileSystemInfoHelper.cs
src/libraries/Microsoft.Extensions.FileProviders.Physical/tests/PhysicalFileProviderTests.cs
src/libraries/Microsoft.Extensions.FileProviders.Physical/tests/PhysicalFileProviderTests.netcoreapp.cs