Skip to content
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

[wasm] Skip System.Configuration.ConfigurationManager test suite #38749

Merged

Conversation

MaximLipnin
Copy link
Contributor

@MaximLipnin MaximLipnin commented Jul 3, 2020

Part of #38422.

I marked some test classes/methods in System.Configuration.ConfigurationManager test suite as not running on Browser.
Some of them are time consuming, a couple of them just fail.
Someone could take a look to decide whether they make sense on Wasm and if it's worth fixing/enabling them.
Most of the disabled tests contain an invocations of ConfigurationManager.OpenExeConfiguration.

The intermediate results of the local run:
Tests run: 510, Errors: 0, Failures: 0, Skipped: 1.
Tests run: 536, Errors: 0, Failures: 0, Skipped: 1

Since System.Configuration.ConfigurationManager is a legacy netstandard library, delivered as independent nuget package, it makes sense to skip the whole test suite.

@ghost
Copy link

ghost commented Jul 3, 2020

Tagging subscribers to this area: @safern, @ViktorHofer
Notify danmosemsft if you want to be subscribed.

@akoeplinger
Copy link
Member

I think we should just skip the whole test assembly on browser in an AssemblyInfo.cs:

[assembly: SkipOnMono("System.Configuration.ConfigurationManager is not supported on wasm", TestPlatforms.Browser)]

@MaximLipnin MaximLipnin force-pushed the wasm_enable_config_mangr_suite branch from ad2ad8e to db0db34 Compare July 3, 2020 19:15
@MaximLipnin MaximLipnin changed the title [wasm] Make System.Configuration.ConfigurationManager test suite pass [wasm] Skip System.Configuration.ConfigurationManager test suite Jul 3, 2020
@MaximLipnin MaximLipnin marked this pull request as ready for review July 3, 2020 19:35
@akoeplinger akoeplinger merged commit cfd0172 into dotnet:master Jul 4, 2020
@MaximLipnin MaximLipnin deleted the wasm_enable_config_mangr_suite branch July 4, 2020 17:44
@ghost ghost locked as resolved and limited conversation to collaborators Dec 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants