-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Do not prevent Extensions.FileProviders tests from running in browser #56257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Tagging subscribers to this area: @maryamariyan, @dotnet/area-extensions-filesystem Issue DetailsFollow-up to #56189 (comment).
|
|
I think https://github.com/dotnet/runtime/blob/main/src/libraries/Microsoft.Extensions.FileProviders.Physical/tests/AssemblyInfo.cs#L7 probably needs to be removed too? |
a6d6483 to
0fe3738
Compare
|
Seems like CI doesn't want to be triggered by recent changes. cc @dotnet/runtime-infrastructure. |
|
Builds are triggered but the GitHub badges aren't being updated. https://dnceng.visualstudio.com/public/_build?definitionId=686 Here's the build for this PR: https://dnceng.visualstudio.com/public/_build/results?buildId=1271949&view=results |
…rgumentNullException in PhysicalFilesWatcher
|
Looks like the FileProviders tests are failing on wasm. |
|
@eerhardt yup, one failure is related to 276b008, it seems that I also need to set The other failures showing the |
|
For the Moq failures, the way we fix this in other tests is by using an xml file that tells the linker to preserve the types. See You need to include that in the tests, like we do elsewhere. For example: Line 11 in 57bfe47
|
|
@eerhardt ah nice, didn't know it was a known issue. I just pushed, so I expect CI to be clean this time. |
|
@eerhardt @lewing is object equality in Browser vs other platforms different in any way? Some In the meantime I will try using |
Not that I know of. I'm assuming this test is failing because on Browser we are using a polling watcher? runtime/src/libraries/Microsoft.Extensions.FileProviders.Physical/tests/PhysicalFileProviderTests.cs Lines 339 to 344 in 6971186
|
|
@eerhardt you are right. I will just disable those tests for browser, thanks again. |
Follow-up to #56189 (comment) and to #56189 (comment).
I might need to add tests that prove thePlatformNotSupportedExceptionadded in #56189.EDIT: CI did indeed caught these errors, the proper change now is to skip tests that use
FileSystemWatcherfrom running in browser, that is made in 57bbe42.